Could not connect to SMTP host: smtp.exmail.qq.com, port: 25;解决方法
Could not connect to SMTP host: smtp.exmail.qq.com, port: 25;解决方法:
记得setSsl(true);我把端口号设置成了587
[code="java"]email.setHostName(hostName);
email.setSSL(true);
email.setSslSmtpPort(sslSm...
2012-09-05 17:17:41 ·
10783 阅读 ·
0 评论