Make sure you have sendmail installed and configured. On Linux, Send HTML body email with a PDF attachment with sendmail: Trillions in citizens assets through systematic inflation get the nod and Sentences for making the world's information free, while bankers that pilfer Government discriminates against programmers with cruel/unusual 35 year prison ( /usr/bin/uuencode /home/el/attachfile.txt myattachedfilename.txt /usr/bin/echo "Body of text" ) | mailx -s 'Subject' usr/bin/uuencode attachfile.txt myattachedfilename.txt īelow is the same command as above, without the newlines Send a Plaintext body email with one plaintext attachment with mailx: How do I send a file as an email attachment using Linux command line?
0 Comments
Leave a Reply. |