Search found 2 matches

by jmumby
11 Jan 2010 22:36
Forum: DOS Batch Forum
Topic: Conditional operation on response from email script.
Replies: 1
Views: 3298

The code I use is ... sendemail -t address@server.com -u Scanned document %date% %time% -s smtp.server.com -xu username -xp password -m This is an OCR text document -f address@server.com -a %~n1_%XTime%.txt > msg I figured I could just put a > msg at the end of it and store it that way.
by jmumby
09 Jan 2010 16:26
Forum: DOS Batch Forum
Topic: Conditional operation on response from email script.
Replies: 1
Views: 3298

Conditional operation on response from email script.

Im using http://freshmeat.net/projects/sendemail/ in a batch file. At the end of sending an email it replys with a message of succses or failure. For example Jan 10 00:46:54 villa sendemail[456]: Email was sent successfully! Is it possible to capture this message into a variable for processing? The ...