且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

获取javax.mail.MessagingException和java.net.SocketException

更新时间:2023-09-20 23:26:58

smtp.mail.yahoo.net 是指向多个不同邮件服务器的CNAME。雅虎恰好在今天的邮件服务器上遇到一些问题...

smtp.mail.yahoo.net is a CNAME that points to a number of different mail servers. Yahoo happens to be having some problems with their mail servers today...

broach@broach-laptop:~$ telnet smtp.mail.yahoo.com 25
Trying 98.136.185.95...
Connected to smtp.mail.us.am0.yahoodns.net.
Escape character is '^]'.
Connection closed by foreign host.

broach@broach-laptop:~$ telnet smtp.mail.yahoo.com 25
Trying 98.138.84.55...
Connected to smtp.mail.us.am0.yahoodns.net.
Escape character is '^]'.
220 smtp113.mail.ne1.yahoo.com ESMTP

broach@broach-laptop:~$ telnet smtp.mail.yahoo.com 25
Trying 98.139.212.139...
Connected to smtp.mail.us.am0.yahoodns.net.
Escape character is '^]'.
Connection closed by foreign host.

现在尝试5次,我有3个失败和2个连接。

Trying 5 times just now I got 3 failures and 2 connects.