Sending Email Using Command Line
16 November 2009
No Comment
To use Blat to send email, you will definitely need to refer to the syntax manual. Below is an example for a normal SMTP server that requires authentication. You can also use IP:Port for -server syntax. By default Blat uses port 25 but if your SMTP server uses a different port, then you can change it.
blat.exe -f from@email.com -to recipient@email.com -subject ThisIsTheSubject -body ThisIsTheBody -server smtp.server.com:25 -u SMTPUserLogin -pw SMTPUserPass









Leave your response!