【问题标题】:how can i send emails including html to using php and gmail smtp? [closed]如何使用 php 和 gmail smtp 发送包括 html 在内的电子邮件? [关闭] 【发布时间】:2011-03-31 11:55:48 【问题描述】: 我正在使用 phpmailer 【问题讨论】: 标签: php email phpmailer 【解决方案1】: 有一个例子可以完全处理您的请求。 http://phpmailer.worxware.com/index.php?pg=exampleagmail 【讨论】: 非常感谢...成功了!!! 【解决方案2】: 您也可以使用 PEAR 的邮件库。 【讨论】: 当然是一个可能的解决方案,但由于 OP 已经被指出使用 PHPMailer,因此最好尝试使用该框架提供解决方案,或者将 OP 定向到相同的资源。