Page 1 of 1

MAILX with attachments

Posted: Mon Aug 30, 2010 6:50 pm
by cah
Syntax:

Code: Select all

/usr/bin/uuencode <INPUT FILE> <OUTPUT FILE> | /usr/bin/mailx -s "SUBJECT" -r <SENDER> -b <BCC> -c <CC> RECIPIENTS

EX:

/usr/bin/uuencode original.html fileinmail.html | /usr/bin/mailx -s "Test" cah