senditquiet
Previous  Next

---------------------
PARAMETERS:
-s <server>     : SMTP server address (required)
-port <port>    : SMTP server port (Default is 25)
-u <username>   : SMTP user name (reqired)
-p <password>   : SMTP password (required)
-f <from>       : Sender mail address (required)
-t <to>         : Comma seperated recipient list (reqired)
-protocol <protocol>  : SMTP protocol possible values are, ssl, normal.
-subject <subject> : subject line, surround with quotes if you want to include spaces
-body <body> : Mail body. Surround with quotes if you want to include spaces
-bodyfile <filename> :file path contains message body, file encoding assumed as utf8
-files <files>      : Attachment files, (comma seperated).
-logfile <filename> : Optionaly you can specify a log file to have detailed trace of whole communication process.

Usage example:

senditquiet.exe -s smtp.myserver.com -u mysmtpusername -p mypassword -f mymailaddress@myserver.com -t firstrecipient@address.com;secondrecipient@address.com -protocol ssl -subject "A mail subject" -files afile.zip;anotherfile.rar

Visit http://commandlinesendmail.blogspot.com/ for more information and examples.