//
you're reading...
BSD, Linux, linux server, unix

How-to Send an Email from the Terminal using sendEmail !


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 testmail@test.com This e-mail address is being protected from spambots. You need JavaScript enabled to view it -t user_name@test.com This e-mail address is being protected from spambots. You need JavaScript enabled to view it -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 :

* http://caspian.dotconf.net/menu/Software/SendEmail/
* http://www.ubuntuforums.org

Advertisements

About abdessemed mohamed amine

DZ-SECURITY

Discussion

3 thoughts on “How-to Send an Email from the Terminal using sendEmail !

  1. hola el comando es exelente pero no me funcka en el puerto 465, es decir por 587 del smtp de gmail si me funciona , pero yo nesecito ocupar el puerto 465 de gmail con este comando , y la verdad no lo he logrado , si me dieras algun consejo , quisas un programa similar , te lo agradeceria mucho 🙂

    Posted by Francisco | January 12, 2011, 07:07
  2. i can’t find a smtp for gmail -_- help

    Posted by H4xer | November 3, 2012, 22:20

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Facebook

August 2009
S M T W T F S
« Jul   Sep »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Twitter

Error: Twitter did not respond. Please wait a few minutes and refresh this page.

  • 364,497 Visit !
%d bloggers like this: