我无法通过Gmail SMTP连接,而且我在tls上收到此调试信息:
2017-12-05 16:40:25 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP q9sm1085224pfl.116 - gsmtp
2017-12-05 16:40:25 CLIENT -> SERVER: EHLO localhost
2017-12-05 16:40:25 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2405:204:d304:d69d:3c36:3d9:213e:186a]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
2017-12-05 16:40:25 CLIENT -> SERVER: STARTTLS
2017-12-05 16:40:25 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
SMTP Error: Could not connect to SMTP host.
2017-12-05 16:40:26 CLIENT -> SERVER: QUIT
2017-12-05 16:40:26
2017-12-05 16:40:26
SMTP Error: Could not connect to SMTP host.
Message could not be sent.Mailer Error: SMTP Error: Could not connect to SMTP host.
我也尝试过SSL,它说"无法连接"。我从未有过这样的经历。
注意:我使用的是PHPMailer
有没有人有同样的问题,还是仅仅是我?