Home > Backend Development > PHP Tutorial > PHPMailer没法验证邮件服务器通过

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

WBOY
Release: 2016-06-13 13:22:12
Original
854 people have browsed it

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。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template