MAILX with attachments

Moderator: cah

Post Reply
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1342
Joined: Sun Aug 17, 2008 5:05 am

MAILX with attachments

Post 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
CAH, The Great
Post Reply