Skip to content
Prev 325055 / 398503 Next

Sending Email with Attachment

rex
Bhupendrasinh Thakre <vickythakre at gmail.com> [2013-06-09 20:03]:
It's an unsurprising result since telnet doesn't connect either:
  
telnet blu-m.hotmail.com 25
Trying 65.55.121.94...
telnet: Unable to connect to remote host: Connection timed out

Try port 443:

telnet blu-m.hotmail.com 443
Trying 65.55.121.94...
Connected to eas-blu.hot.glbdns.microsoft.com.
Escape character is '^]'.

But it's probably expecting TLS, and sendmailR doesn't support it.
If you want to use sendmailR, you need to find a mail server that
does not require TLS. This may mean running your own mail server. 

Or, you can call an external program that handles a TLS connection.

-rex