Linux – Mutt does not send attachments

Mutt does not send attachments… here is a solution to the problem.

Mutt does not send attachments

Going through some examples, I was clearly doing something wrong because none of them worked for me. I can send a simple email with text, but when I try to send an attachment, it says “File not found”.
I’m running these statements from the same folder as the file:

echo -e "This is the body" | mutt -a /home/adrian/Backups/Server1/MyFile-2013-04-17.zip [email protected] -s "This is the subject"

echo -e "This is the body" | mutt -a MyFile-2013-04-17.zip [email protected] -s "This is the subject"

Are there any prerequisites for the file types or path syntax that can be sent?

Related Problems and Solutions