User Rating: / 1
PoorBest 

Bookmark and Share

If you are new to Unixmen, you may want to subscribe :

You can use sendEmail to send emails from the terminal, SendEmail is a lightweight, command line SMTP email client. If you have the need to send email from a command line, this free program is perfect: simple to use and feature rich.It was designed to be used in bash scripts, batch files, Perl programs and web sites, but is quite adaptable and will likely meet your requirements. SendEmail is written in Perl and is unique in that it requires NO MODULES.

 

To install sendEmail in Ubuntu:


sudo apt-get install sendEmail

Now to send email ,

sendEmail -f FROM -t TO -s SERVER -u SUBJECT -m MESSAGE 

Example :

sendEmail -f myemail@myisp.com -t  username@yahoo.com -s smtp.myisp.com -u
"Hello boss" -m "Hello boss, this is just a test message"

To learn more about sendEmail use the man command :

man sendEmail

Links :

"Hello boss" -m "Hello boss, this is just a test message"

Related Articles By Tags:

Comments (0)
Write comment
Your Contact Details:
Gravatar enabled
Comment:
[b] [i] [u] [s] [url] [quote] [code] [img]   
:D:):(:0:shock::confused:8):lol::x:P:oops::cry:
:evil::twisted::roll::wink::!::?::idea::arrow: