Heim  >  Artikel  >  Backend-Entwicklung  >  PHPMailer没法验证邮件服务器通过

PHPMailer没法验证邮件服务器通过

WBOY
WBOYOriginal
2016-06-13 13:22:12773Durchsuche

PHPMailer无法验证邮件服务器通过
公司换了邮件服务器,本来是用U-MAIL的。现在换用微软的那个exchange。

结果原来的php脚本连接新的邮件服务器失败,提示是:Could not authenticate。

大家帮忙诊断下可能是哪里有问题?

注:脚本只修改了连接的$mail->Host。别的用户名和密码都没变。而且用outlook连接验证,新邮箱的IP,用户名,密码都是可以用的。

------解决方案--------------------
是否要求SSL?
------解决方案--------------------
http://www.jiucool.com/phpmailer-php-email/

对比对比, 自己的php是否安装了openssl,账号密码,smtp服务器这个ip+port是否ssl。

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn