我使用Blat这是从命令发送邮件的命令行工具。运行blat命令发送邮件时,无法连接到服务器(超时如果winsock.dll错误10060)
首先我运行安装命令来存储它创建类似的注册表条目的邮件服务器.........
首先我是在SMTP服务器设置为smtp.mail.yahoo.com但错误是一样的。
之后,我执行
blat C:\temp.txt -to [email protected] -superdebug
之后,这个错误我.......
C:\blat310\full>blat C:\temp.txt -to [email protected] -superdebug
Blat v3.1.0 (build : Feb 2 2013 11:00:32)
32-bit Windows, Full, Unicode
Checking option -to
superDebug: init_winsock(), WSAStartup() returned 0 (NO_ERROR)
superDebug: Hostname <smtp.mail.apac.gm0.yahoodns.net> resolved to ip address 10
6.10.167.87
superDebug: Official hostname is smtp.mail.apac.gm0.yahoodns.net
superDebug: Attempting to connect to ip address 106.10.167.87
superDebug: ::connect() returned error 10060, retry count remaining is 1
superDebug: ::connect() returned error 10060, retry count remaining is 0
superDebug: Connection returned error 10060
Error: Can't connect to server (timed out if winsock.dll error 10060)
superDebug: ::say_hello() failed to connect, retry count remaining is 1
superDebug: init_winsock(), WSAStartup() returned 0 (NO_ERROR)
superDebug: Hostname <smtp.mail.apac.gm0.yahoodns.net> resolved to ip address 10
6.10.167.87
superDebug: Official hostname is smtp.mail.apac.gm0.yahoodns.net
superDebug: Attempting to connect to ip address 106.10.167.87
superDebug: ::connect() returned error 10060, retry count remaining is 1
superDebug: ::connect() returned error 10060, retry count remaining is 0
superDebug: Connection returned error 10060
Error: Can't connect to server (timed out if winsock.dll error 10060)
是的,它的工作现在我设置端口25 ............. :) – vikky 2013-02-11 06:00:24