Send Email from Terminal in Linux ( Ubuntu 13.04 )

Send Email From Terminal in Linux (Ubuntu 13.04)
Hello Everyone, I am Back with another Linux basic Tutorial about Sending an Email From Linux Terminal, Most of The People Think that its Quiet Tough to Use Linux. But Believe me Its not that Tough, If you want to Do Something Great than switch to Linux. Like I switched to it about a Month Ago.
Back to the Post:-  To Send an Email to your Friend from the Ubuntu 13.04 Terminal Follow the Simple Steps.

Step 1:- Open The Terminal ( Press Ctrl + Alt + T )

Step 2:  Install ssmtp by typing  
sudo apt-get install ssmtp
Step 3:  Edit the smpt config File 
gksu gedit /etc/ssmtp/ssmtp.conf
Edit this in a root

root=username@gmail.com
mailhub=smtp.gmail.com:465
rewriteDomain=gmail.com
AuthUser=username
AuthPass=password
FromLineOverride=YES 
UseTLS=YES

Step 4: Enter the email address of the person whom you want to send an email
ssmtp email_id@gmail.com
Step 5:- Now Enter This

To:email_id@gmail.com
From:username@gmail.com
Subject:Sent from the Terminal

Step 6:- To Send an Email Press "Ctrl+d"

more post about Linux coming soon...

2 comments:

Give your Opinion !

Copyright © 2012 cyberaditya.