Re: how to send mail from console

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

> mail -s "My email subject" me@xxxxxxxxxx <$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@xxxxxxxxxx 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux