Blog

WEBFI-WordPress-How to Send Email in WordPress using the Gmail SMTP Server



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:

https://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
http://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
https://www.facebook.com/wpbeginner

Follow us on Twitter
http://twitter.com/wpbeginner

Checkout our website for more WordPress Tutorials
http://www.wpbeginner.com #WordPress #WordPressTutorial #WordPressTips

source

20 Comments

  • Marc Lázaro on July 30, 2020

    Thank you

  • Bertus de Leeuw on August 5, 2020

    Not getting to sep 3 it asks me to create a consent screen…

  • Learning Technologies on August 31, 2020

    Method 2 does'nt work. It says there is a problem connecting to hosting server.

  • Taleeb Ahmad on September 3, 2020

    This method is working in 2020. Thank you so much. Appreciated your support.

  • Vivek Kapoor on September 6, 2020

    options have been changed. now it is very complicated

  • MERAL MARADIA on September 7, 2020

    This is very straight and awesome , thanks (y)

  • Curt Comber on September 11, 2020

    It would be really nice for us novices to have better instructions on how to access the Google API Console.

  • Sampath K. Iyengar on September 11, 2020

    was searching for this all over for Amazon lightsail , thanks

  • NE150N on September 14, 2020

    Thank you for your help! It's super helpful!

  • Miray Lafcı on September 18, 2020

    Thank u so much. It worked 👯👯

  • Hayat Khan on September 19, 2020

    is there any one thing for WordPress inbox like system as we regularly using @gmail.com etc. Its totally confuse for me who do I send mail and who do I receive mails.

    Thanks I just need simple process where I can login and check out my messages or mails.

    Thanks

  • Milton Reales on September 23, 2020

    Hi..Thank you for video!! I setup sucessfully with Gmail. Now, how can i send the email.? Thank you.

  • John Marra on October 19, 2020

    The video needs to be updated. The Google screens are different. There's an OAuth consent screen that has to be configured and they are asking for either internal or external user type.

  • Luciano Oroño on November 26, 2020

    thanks from Argentina!

  • Lavek on March 25, 2021

    Right, but how do you add or import prospects?

  • Szolga Gyula on April 6, 2021

    Great tutorial, but I'm stucked at 2:46 with Google oath scree set up. Can't figure it out.

  • Stephen Kirk on May 14, 2021

    Hi, I am confused about setting up email from my domain and the user experience. So, for example, my domain email could be steve@mydomain.com. My own gmail account is say steve@gmail.com. So, when this is setup, do I just log into my regular email client on my laptop and set it up for emails from my steve@mydomain.com too and the forwarding explained here sends the email to steve@gmail.com ???? Is that the idea ?

  • ajay kumar on July 27, 2021

    Gmail verify its show denied what can I do mam

  • jahanvi shah on August 14, 2021

    hi maam, thank you so much for helping out! ive been following a course but they are following through blue host which is difficult for newcomer like me to understand website development. Im so glad i came across your video.

    Ive few queries if you dont mind explaining, In the SMTP host you had a different email.. do i have to create another one or can use my main email used in my domain? and whats the reason if not the same as domain email.

  • Pauline Foods on September 21, 2021

    Could not authenticate your SMTP account has been my problem while sending a test email

WhatsApp us
Live Chat

Office hours operation Mon-Sun 8:00 am ET – 4:00 pm ET

To start your Premium WP or Cpanel service, use our domain search engine, if the domain you want is available, contact us by Whats app to activate your project.

The easiest, fastest, and most secure way to communicate with us.
loading
Please enter your domain.
Please verify that you are not a robot.

Terms Privacy

 

 

error: WEBFINET SECURITY IS ON