Page 1 of 1

Send email from cli

Posted: Thu Aug 02, 2007 1:03 pm
by thockman
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