Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I used to send emails to unsecured SMTP servers using nc.exe utility (Windows port of NetCat) and now I need to send the same emails to a secured SMTP server (TLS). What additional parameters do I need to specify in nc.exe or body of the email message to enable secure communication?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

The following article explains how to achieve this with the combination of stunnel/blat http://www.jeffkastner.com/2010/01/blat-stunnel-and-gmail

share|improve this answer

With netcat, it's more-or-less impossible*.

You need a utilty which supports tls/ssl - you can try with snetcat or any other netcat clones.

*you have to do a ssl handshake first, exchange keys, encrypt, send, and then decrypt recieved data

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.