Email Configuration on Ubuntu Server | Quick Email solution for WordPress on Ubuntu Server | Configure SSMTP


Email is one of the most important parts of website/blog, usually it comes configured by default on shared hosting but if you are using VPS or any kind of server you need to install and configure mail transfer agents. Without installing such tools you will not get any mail from website hosted on that server. If you want quick solution and don’t want to enable/configure full featured mail server then this tutorial is for you because with the help of sSMTP you will start receiving mail within minutes. To install sSMTP on your server with Google Apps & Gmail account, follow the following steps.

  1. Open terminal and log on to your server.
  2. Install sSMTP by using command # sudo apt-get install ssmtp
  3. Accept by entering “Y” to proceed installation.
  4. Now you need to edit configuration file. You can edit configuration file either from terminal or opening file via FTP client.
  5. You need to edit the file /etc/ssmtp/ssmtp.conf
  6. From terminal enter # sudo nano /etc/ssmtp/ssmtp.conf
  7. Click Here to open the configuration file.
  8. Change the given mail with your gmail id and password and paste it in your ssmtp.conf file.
    Save the ssmtp.conf file
  9. Restart your server # service nginx restart or # service apache2 restart

Enjoy !

Please feel free to ask if you have any doubt or question, to ask your doubts or questions just leave a comment below.

Image Source:-


  1. I think the admin of this web site is truly working hard in favor of his site, as here every data is quality based stuff.|


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.