Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
在不知道您的设置或代码的情况下,我会调查内部异常 - “无法连接到远程服务器”。
您实际上有权访问 SMTP 服务器吗?
是否会因为系统或网络防火墙而被阻止?
某些 ISP 会阻止端口 25 以阻止机器人垃圾邮件,您可能需要通过其他端口进行连接。
Without knowing your setup or code, I would look into the inner exception - "Unable to connect to the remote server".
Do you actually have access to the SMTP server?
Could there be a block due to a system or network firewall?
Some ISPs block port 25 in order to stop bot spamming, you may need to connect via a different port.