mutt email attachment

Send email from unix with attachment, which in this case has been zipped with a password:

zip -P mypassword /tmp/myfile.zip myfile.csv
mutt -a /tmp/myfile.zip -s "Zipfile Attached" user@email.com < /dev/null
July 30, 2010

Leave a Reply

Your email address will not be published. Required fields are marked *