Published on January 16, 2018 by WPBeginner

Having trouble sending and receiving emails from your WordPress site? We’ve helped many users solve this error easily and will walk you through how in this video.

The easy way to solve this is by sending emails from WordPress using the Gmail SMTP server. With this video we will show you how to send email in WordPress using the Gmail SMTP server.

In this tutorial, we will walk you through:

– How to install the Gmail SMTP plugin
– How to add the required settings
– How to set up the Google API
— How to add your credentials
– How to test emails sent from your site
– How to use Gmail SMTP for a second method

By default WordPress uses PHP to send emails which can cause them to be flagged for spam, the simplest method to prevent this would be to use SMTP.

We will be using Gmail for the SMTP which will require you to create an application at the Google Developers Console website:

www.google.com/accounts/Logout?continue=https://console.developers.google.com/start/api?id=gmail

What we will need to create the API is the Authorized redirect URI found in the plugin settings and with that we will be able to add the final three required settings for the plugin:

1. The client ID
2. The client secret
3. Click the authorize emails using your Google account button

If you do not want to use this method there is a less secure method using SMTP without the API that we will walk you through.

Text version of this tutorial
www.wpbeginner.com/plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Check us out on Facebook
www.facebook.com/wpbeginner

Follow us on Twitter
twitter.com/wpbeginner

Checkout our website for more WordPress Tutorials
www.wpbeginner.com

Leave a Reply

60 Comments on "How to Send Email in WordPress using the Gmail SMTP Server"

Notify of
avatar

Gary Lum
Guest
Gary Lum
4 months 8 days ago

Can anyone share with me an example of when I would want to send an e-mail from my WordPress site rather than from my e-mail platform? Thanks.

Gary Lum
Guest
Gary Lum
4 months 7 days ago

Ah, that makes sense now. Thank you.

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
4 months 7 days ago

For password reset emails as one but this guide is also for those who also may not have an email platform just yet

Holistic Health & Living
Guest
Holistic Health & Living
4 months 8 days ago

Is it possible to use this program with my own blog email accounts and not just Gmail?

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
4 months 7 days ago

You would need to find a different plugin as this one is designed specifically for gmail

archersfriend
Guest
archersfriend
4 months 8 days ago

Very Complicated. Don't think is is worth the effort, too many ways to SCREW UP.

Techipulse
Guest
Techipulse
4 months 8 days ago

archersfriend not as difficult as you think..Just go for the second method instead, if that the case

wpDiscuz