我正在使用布莱特,这是命令行工具,用于从命令发送邮件。
首先,我运行安装命令来存储邮件服务器,它像这样在注册表中创建条目.
首先,我将SMTP服务器设置为smtp.mail.yahoo.com,但错误相同。
在那之后我执行
blat C:\temp.txt -to abcdef@gmail.com -superdebug
在那之后我犯了个错误.
C:\blat310\full>blat C:\temp.txt -to abcdef@gmail.com -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)
发布于 2013-02-09 23:58:41
错误10060意味着您的连接超时,这是因为在smtp.mail.yahoo.com
或smtp.mail.apac.gm0.yahoodns.net
上端口995上没有监听内容。你为什么要连接到那个端口呢?它用于POP3通过SSL (即邮件检索),而不是用于SMTP (邮件提交)。
尝试端口25或(更可能)端口587。后者是消息提交的默认端口(详见RFC 4409 )。
发布于 2015-01-02 17:02:26
您的10060超时错误很可能是由您的邮件服务器不监听Blat默认SMTP端口# 25引起的。
许多ISP邮件服务器已经切换到SSL加密进行身份验证。此开关意味着使用SMTP端口# 465。但是,Blat目前不支持SSL。
你要么必须:
https://stackoverflow.com/questions/14772967
复制相似问题