我目前正在开发忘记密码功能,我正在使用javax.mail。我尝试使用smtp.gmail.com作为我的主机,它在本地和实时服务器上都工作得很好。在下面的链接中,您可以看到有一个mailed-by and signed-by gmail。
在实时服务器中,它显示为Could not connect to SMTP host: smtpout.secureserver.net, port: 465, response: 554。而且,即使在本地服务器上查看电子邮件时,我也看不到signed-by and ma