Send e-mail with attachment from command line
mpack is a command line tool that can send e-mail with MIME formatted attachment. mpack -a -s “My subject From: Sender<from@example.com>” -d messagebody.txt attachment.file recipient@example.com Since mpack accepts linebreaks in the -s option (which is actually ment to set the subject line) we can include other headers right after it. Just like I did in […]