How to send email with attachment using unix command line
Tuesday, July 29th, 2008You 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