send email from commandline Posted on February 27, 2019February 27, 2019 by ppadmin echo "This is message body" | mail -s "This is Subject" -r "Support<[email protected]>" -a /path/to/file [email protected]