Saturday, March 5, 2016

uuencode command to send email attachments

uuencode command to send email attachments







uuencode command to send email attachments;


(uuencode a.txt; echo "Body of text") | mailx -s 'Subject' sagar.kumbhar3@cognizant.com


 


a.txt | mail -s "Daily Monitoring" sagar.kumbhar3@cognizant.com


 


uuencode a.txt a.txt| mailx -s 'Testing' sagar.kumbhar3@cognizant.com


 


uuencode a.txt b.txt| mailx -s 'Testing' sagar.kumbhar3@cognizant.com


 


 


(uuencode $FILE $FILENAME; uuencode $FILE1 $FILENAME1; uuencode.......; uuencode $FILEn $FILENAMEn) | mailx -s "$SUBJECT" $MAILLIST 


 


 


 


(uuencode a.txt a.txt; uuencode b.txt b.txt; uuencode d.txt d.txt) | mailx -s 'Testing' sagar.kumbhar3@cognizant.com

No comments:

Post a Comment