how to send email from terminal

You want to send an email right t from your terminal and don’t want to open  browser or email client  , well no big deal you can send right from  your terminal .
you have to install an application name “sendemail”
you can install it by typing

$ sudo apt-get install sendemail

and you are ready to go


$ sendemail -t (destination address ) –f (from eg. [email protected] ) –s (server:port) –xu (smtp server username ) –xp (smtp password) –m (message)

It will use gmail as smtp server to send your email
sendemail –-help to see all options , or you can read manual using man sendmail



Tagged With : -