2013-02-08 5 views
1

명령에서 메일을 보내는 명령 줄 도구 인 Blat을 사용하고 있습니다.blat 명령을 사용하여 메일을 보내면 서버에 연결할 수 없습니다 (winsock.dll 오류 10060이면 시간 초과 됨)

먼저 나는 에 SMTP 서버를 설정

enter image description here

먼저 같은 레지스트리의 항목을 작성하는 메일 서버를 저장하는 설치 명령을 ......... 실행 smtp.mail.yahoo.com하지만 오류는 동일합니다.

그 후 나는 10060은 아무것도 듣고 밖으로 연결 시간,이 때문에 것을 의미 내가 가진이 오류 후

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) 

답변

1

오류를 실행 포트 995는 smtp.mail.yahoo.com 또는 smtp.mail.apac.gm0.yahoodns.net입니다. 어쨌든 왜 그 포트에 연결하려고합니까? SMTP (메일 제출)가 아닌 SSL을 통한 POP3 (메일 검색)에 사용됩니다.

포트 25 또는 가능성이 큰 포트 587을 사용해보십시오. 후자는 메시지 제출의 기본 포트입니다 (자세한 내용은 RFC 4409 참조).

+0

예, 이제 포트 25를 설정했습니다. ............. :) – vikky

0

는 귀하 10060 시간 초과 오류는 대부분 메일 서버는 25

많은 ISP의 메일 서버가 authenication에 대한 SSL 암호화로 전환 한 BLAT 기본 SMTP 포트 번호를 듣고하지 않음으로써 발생되고있다. 이 스위치는 SMTP 포트 # 465를 사용한다는 것을 의미합니다. 그러나 Blat은 현재 SSL을 지원하지 않습니다.

에 당신은 것 중 하나

  1. 비 SSL 통신을 열려면 ISP의 메일 서버를 요청하거나
  2. 은 (stunnel로 같은) BLAT에 대한 SSL 래퍼를 얻을, 또는
  3. 하는 다른 명령 라인을 찾을 수 SSL을 지원하는 메일 프로그램.