我收到的错误如下:
通知 SMTP connect()失败。 https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting × 错误 无法发送测试邮件。
我的电子邮件设置如下,
我可以telnet我的电子邮件主机。应用程序托管在Linux Server中。
答案 0 :(得分:0)
如果您使用的是Gmail帐户,请
参考https://www.lifewire.com/what-are-the-gmail-smtp-settings-1170854
如果任何其他smtp服务询问您的主机提供商