How To Fix Hostgator WordPress Emails Being Tagged As Spam

As some of you know, I’m very quick to respond to comments on this site but unfortunately over a month plus now I have been slacking and that’s no fault of mine. It so happens that for some reason all emails being sent by this blog is now being tagged as spam by Gmail. I randomly checked the comments section of my admin area and discovered loads of unapproved comments and on further investigations, I found all the new comment notification emails stashed away in the spam folder.

I’ve contacted Hostgator and they haven’t responded at all and this leaves me wondering if the problem is from this site or from the shared server upon which this site is hosted.

To solve the problem, I decided to switch from using wordpress’s default PHP Mailer to Gmail SMTP. Below is a guide for setting up your self-hosted wordpress blog to send all blog related emails via your Gmail account only.

Simply download install Postman SMTP Mailer/Email Log

Go to Settings >>> Postman SMTP and tap on Start the Wizard

 

Postman SMTP Setup 1

Postman SMTP Setup Import Configuration

 

Under Sender details, enter your Gmail address and any name of your choice. The Gmail address you enter here must be the same one you will authenticate later

 

Postman SMTP Setup Sender Details

 

By default the next window Outgoing Mail Server Hostname will be set to smtp.gmail.com. Do not change it

Postman SMTP Setup Outgoing Mail

 

Connectivity Test will run next. Leave it as shown below when it is done

Postman SMTP Setup Connectivity Test

 

Authentication with Google is now needed. To activate it, you will need to create a Google Client ID and get a Client secret as well. Instructions on getting them can be found here or in this video. Once you get them, just copy and paste them in and finish setup.

 

Postman SMTP Setup Authentication

 

You can now send a test email to make sure everything is working just fine.

 

Postman SMTP Setup Final

UPDATE: Hostgator actually responded but their message was tagged as spam. They also recommended using SMTP authentication like the one above. I guess my server isn’t the only one affected by this email problem. Hostgator’s email servers have been blacklisted too :(

 


Discover more from Patchwork Of Tips

Subscribe to get the latest posts sent to your email.

You’ll also like:

Please share this article to help others. Thanks