How to attach a binary file to an email using the Linux mail command: ( cat bodyofmail.txt; uuencode filetoattach attachmentnameinemail ) |\ mail -s "The subject" [email protected] # for example # if I had the text body of my email in "body.txt" # and I had a PDF file...
About the Author
James is an IT Professional based in Melbourne, Australia. He blogs about Information Technology, Open Source software, home renovations, good reads and travel.
About this Blog