Great info! Gmail is more secure and reliable than WP email without the added issues. This is the first part without the instructions for configuring the plugin and API, etc. See the source link for more and to share this article. – me
Step by step guide on how to use the Gmail SMTP servers to send emails in WordPress. Gmail SMTP plugin helps fix the WordPress not sending email issue.
How to Send Email in WordPress using the Gmail SMTP Server
- Last updated on by Editorial Staff
Are you having trouble sending emails from your WordPress site? One easy way to solve this is by sending emails from WordPress using the Gmail SMTP server. In this article, we will show you how to send email in WordPress using the Gmail SMTP server.
Why and When You Need Gmail SMTP Server for WordPress Emails
Your WordPress site sends emails to notify you of new user registration, lost password reset, automatic updates, and even notifications from your contact forms.
By default, WordPress uses the PHP mail function to send out email notifications. However this function does not work as expected due to a number of reasons.
Most WordPress hosting companies restrict usage of this function to prevent abuse and spam.
Spam filters on popular email service providers check incoming emails to monitor if they are sent from an authentic mail servers. Default WordPress emails fail this check and sometimes may not even make it to the spam folder.
SMTP (Simple Mail Transfer Protocol) is the industry standard for sending emails. Unlike PHP mail function, SMTP uses proper authentication which increases email deliverability.
Gmail provides SMTP service that you can use to send out emails from your WordPress site. If you just want to send WordPress notification emails to yourself and few users on your site, then Gmail SMTP servers are the best option.
However, if you are planning on sending newsletter emails using WordPress, then you should use a mass emailing service provider, like MailGun or SendGrid.
Free vs Paid Gmail SMTP Service for WordPress
You can use your free Gmail account to send out WordPress emails. However, for better deliverability, we recommend using paid Google Apps for Work with Gmail.
With Google Apps for Work, you get your own professional branded email addresssuch as (email@example.com).
Google Apps require you to add MX records to your domain name which means that your emails will appear to be coming from your own domain name boosting authenticity and ensuring better deliverability.
We use Google Apps for Work in our business, and can honestly say it’s the best.
How to Send WordPress Emails Using Gmail SMTP Server
If you decided to use Google Apps for Work, then you first need to set up your domain to work with Google Apps. We have a step by step tutorial on how to setup aprofessional email address with Google Apps and Gmail.
Rest of the instructions are the same whether you are using paid or free Gmail account.
There are two ways you can connect your WordPress site to Gmail SMTP servers.
The first method uses OAuth Authentication. This is a more secure method to send emails using Gmail Servers.
The second method is by allowing Gmail to be used with less secure apps. This method is not recommended because it’s less secure. You have to type in your gmail password in WordPress which is visible to all admin users. It should only be used if you are unable to use the first method.
Method 1: Setting up Gmail SMTP using OAuth Protocol
For instructions on setting up the plugin and service go to the source: