Originally posted by ramaral
/usr/bin/mailx -s "the -s switch is for subject" $recipient < $msgfile
Hi,

I don't want to include whole message in the attach file.. Its a log file and in addition to attachment I need to write message body..

what I need is...

-----------------------------------------------
mailx -s "subject" $recipient <<
Backup is complete.. Please see attched logfile

!
.
-----------------------------------------------

For upper syntax where do I specify my attachment file?