1
2
3
4
5
6
sudo aptitude install mailx
sudo echo "smtp.comcast.com mailhost" >> /etc/hosts
echo "blah" | mail -s test [email protected]

sudo aptitude install sharutils
cat myFile.txt | uuencode myAttachment.bash | mail -s mySubject [email protected]