phpmailer 生产环境发送邮件发送失败Failed to connect to server的解决办法

如果用465端口,就


$mail->SMTPSecure = 'ssl';
原文地址:https://www.cnblogs.com/caicaizi/p/13362138.html