Home sending-file-attachments-from-command-line
Post
Cancel

sending-file-attachments-from-command-line

use mutt;

echo "This is the body of the email" | mutt -a the_attachment.file -s "the subject of the email" the.recipient@a.mailaddress

This post is licensed under CC BY 4.0 by the author.