mutt with email attachments

echo “email body” | mutt -s “email subject” -a myattachment.txt — myemail@example.com

It’s hard to find examples with the hyphens before the email address for some reason; my mutt won’t email without it (keeps trying to attach the email address to the email)

Leave a Reply

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