Sending email with mutt using a string rather than file for the body

Here’s how to use mutt to email without needing a file:

echo “Body text goes here” | mutt -s “Subject goes here” email.address@test.com

Leave a Reply

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