This sends out an email using a gmail account. It connects to the sever with OpenSSL using TLS or Transport Layer Security. It should work with other email services using SSL. In order to get this script to run you need to grab openssl http://www.openssl.org/related/binaries.html Win32OpenSSL_Light-0_9_8i.exe All you need to do is fill in some variables to test this (like your gmail username) Let me know how this works for you. EDIT I found out about the new run command in the latest beta,
This functions don't works properly in my case. It seems that problem is in stdoutread when using openssl running as child process in cmd window. I don't know what exactly, but something is buggy with communication in that way, sending some characters to cmd active window sometimes unblock something and StdoutRead works but this is unreliable. The same method of fixing bug I saw in script when I look closer to it. I spend a lot of hours trying to solve this problem and I gave up. Finally, I star