Jussi Hirvi wrote on Fri, 15 Jan 2010 18:28:54 +0200:
mail -s "My email subject" me@domain.com <$myfile
Note the end of the command! I think it needs a body to get sent! I'm using it here like
some command | mail -s "My email subject" me@domain.com 2>1
which mails me the output of the command.
Kai