服务器发送邮件出现Could not connect to SMTP host错误 解决办法 功夫不负有心人,最后了解到,除了google的smtp服务器收到请求“smtp”会接受,其他服务器比如qq 163什么的必须要收到“smtp”请求(大写),郁闷呀! 解决办法: 在 class.phpmailer.php 中,将 function IsSMTP() { $this->Mailer = 'smtp'; } 改成: function IsSMTP() { $this->Mailer = '…