[CentOS] how to send mail from console

Michael A. Peters mpeters at mac.com
Fri Jan 15 17:32:38 UTC 2010


Jussi Hirvi wrote:
> Here is what I use:
> 
> mail -s "My email subject" me at domain.com <$myfile
> 
> On some (older?) systems the command is email instead of mail. Check
> 	man mail
> 
> Regards,
> Jussi

mail is the standard unix command.
Has been as long as I can remember, and I believe it is also part of LSB 
but I'm not positive on that.


More information about the CentOS mailing list