I am writing a korn shell script that does a few different things. It all works except after it runs I need it to send an email. I can use the MAIL program fine from shell. However, I cannot get it to run in a script because it wants an input for the message field and to ended by a . (dot alone on a line). I am sure there is a way around this, a switch perhaps, but I have read the man page several times to no avail.

So my script says:

blah blah blah

mail -s TESTING [EMAIL PROTECTED]


Any suggestions?


Missing A Switch

_________________________________________________________________
Find high-speed �net deals � comparison-shop your local providers here. https://broadband.msn.com



_______________________________________________ newbies mailing list [EMAIL PROTECTED] http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies

Reply via email to