我决定从 php mail()
类切换到 phpMailer
。我还将我的电子邮件地址移至 Google Apps
。
我一直在查看 PHPMailer 示例 http://phpmailer.worxware.com/index.php?pg=examples但没有人指定 Google Apps
的设置。
我也尝试过此操作(但它使用 Gmail
NOT Google Apps
):Can't send an email using a google apps account with PHPMailer
有人实现过这个吗?
最佳答案
使用 Gmail
和 Google Apps
作为邮件主机的情况类似。答案在Can't send an email using a google apps account with PHPMailer演示如何将 Google Apps
与 PHPMailer
结合使用。检查此页面:GMail and Google Apps as outgoing mail server (SMTP) .
关于php - 通过 phpmailer 发送电子邮件(托管在 Google Apps 上的电子邮件地址),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11796262/