Send email from cli
Posted: Thu Aug 02, 2007 1:03 pm
echo "Message body" | mail -s "Message Subject" messageto@somewhere.com -c messagetocopy@somewhere.com -b messagetoblindcopy@somewhere.com
echo "Message body" | mutt -s "Message Subject" -a /tmp/tmp.png messageto@somewhere.com
echo "Message body" | mutt -s "Message Subject" -a /tmp/tmp.png messageto@somewhere.com