title: Can't connect to server (timed out if winsock.dll error 10060) when run blat command to send mail
body: <p>I am using <a href="http://www.blat.net/" rel="nofollow noreferrer">Blat</a> that is command line tool for sending the mail from command.</p>
  
  <p>First I run the install command to store the mail server which create the entry in registry like that.........</p>
  
  <p><img src="https://i.stack.imgur.com/80YvF.png" alt="enter image description here"></p>
  
  <p>First I was set the SMTP server to <strong>smtp.mail.yahoo.com</strong> but the error was same.</p>
  
  <p>After that I execute </p>
  
  <pre><code>blat C:\temp.txt  -to abcdef@gmail.com -superdebug
  </code></pre>
  
  <p>After that this error I got.......</p>
  
  <pre><code>C:\blat310\full&gt;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 &lt;smtp.mail.apac.gm0.yahoodns.net&gt; 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 &lt;smtp.mail.apac.gm0.yahoodns.net&gt; 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)
  </code></pre>