Jussi Hirvi wrote on Fri, 15 Jan 2010 18:28:54 +0200:

> mail -s "My email subject" m...@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" m...@domain.com 2>1

which mails me the output of the command.

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to