How to send mails using Linux Commands?
Please help with ur suggestions if u know how to send email via the command line in Linux operating system?
Tags: Commands, Linux, mails, send, Using
This entry was posted
on Sunday, August 8th, 2010 at 3:55 am and is filed under Linux Commands.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Use the mail command.
The following will mail the contents of a file called mytext.txt
# cat mytext.txt | mail -s thisissubject myrecipent@gmail.com
HTH,
Aaron