One Liner Email from bash

Simple:

echo “This will go into the body of the mail.” | mail -s “Hello world” you@youremailid.com

nJoy 😉

 

Leave a Reply

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