How to – Send mail with Google SMTP – Ubuntu 14.04

I am gonna show how you can send mail with Google SMTP in a few steps on your Ubuntu 14.04 LTS Server or any Debian systems

Step 1. Install SMTP
run the command in your terminal

Step 2. Configure SMTP
We are gonna open the SMTP config file and add the content below to the file.

Open config file and paste the content in the end line

 

Step 2. Test SMTP
to test our SMTP we are gonna download  send mail client

try to send a mail with this command