I thought it was done like this:
echo "This is the body of the email" > mail -s this is the subject
someaddress@somedomain.com
But for some reason I'm not getting much luck with receiving messages sent like that...although if I do it interactively I'm getting them fine. Is there a better way to do this?