The command
below will send an email with a Subject and Body, but no Attachment. If I remove
< /usr/tmp/BODY_OF_EMAIL
I receive the email with Subject
and Attachment, but no Body.
cat
/usr/tmp/ATTACHMENT.xls | uuencode ATTACHMENT.xls | mailx -s "Subject of email!"
emailaddress@company.com <
/usr/tmp/BODY_OF_EMAIL
/usr/tmp/BODY_OF_EMAIL
contains the text "Email Body."
No comments:
Post a Comment