How to send email with attachment using unix command line
July 29, 2008 – 2:33 amYou need a third party package called mpack. Then, at the command line:
mpack -s ‘the subject’ -c application/octet-stream filename_to_attach destination@domain.com
You need a third party package called mpack. Then, at the command line:
mpack -s ‘the subject’ -c application/octet-stream filename_to_attach destination@domain.com