SMTP connect() failed PHPMailer
在thinkphp中调用 phpmailer 中 发送邮件 出现 SMTP connect() failed 在网上查了 可以能是依赖问题 openssl 之类的问题
但是我用的25端口 没有使用ssl smtp 经过调试发现 即时不需要ssl SMTPSecure 这个值也不能忽略
$mail->SMTPSecure=false
在thinkphp中调用 phpmailer 中 发送邮件 出现 SMTP connect() failed 在网上查了 可以能是依赖问题 openssl 之类的问题
但是我用的25端口 没有使用ssl smtp 经过调试发现 即时不需要ssl SMTPSecure 这个值也不能忽略
$mail->SMTPSecure=false
扫描二维码,输入您要打赏的金额