在my-visitors.php文件中查找$phpmailer = new PHPMailer();在上面这句下面加上如下代码:$phpmailer->IsSMTP(); $phpmailer->SMTPAuth = true; //打开SMTP验证 $phpmailer->SMTPSecure = "ssl"; //利用SSL连接 $phpmailer-&g

- 阅读全文 -