Blog

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



Are you having trouble sending and receiving emails from your WordPress site? One easy way to solve this by sending WordPress emails using the Gmail SMTP server. In this video, we’ll show you how to send emails from your WordPress site using the Gmail SMTP server.

This video brought to you by WPForms, the most beginner friendly WordPress form plugin, take a look at their site here:

=================================
https://wpforms.com/wpbeginner
=================================

For our discount visit: https://WPForms.com/wpbeginner

–Links–

►Written Tutorial – How to Send Email in WordPress using the Gmail SMTP Server
https://www.wpbeginner.com/plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/
►MonsterInsights https://www.monsterinsights.com/ Promo Code WPBVIP

–Top Resources–

Use Promo Code WPBVIP

►Best WordPress Contact Form Plugin https://wpforms.com/wpbeginner
►Best WordPress Analytics Plugin https://www.monsterinsights.com/
►Best Lead Generation Plugin https://optinmonster.com/
►Best WordPress SEO Plugin https://aioseo.com/
►Best Landing Page Builder for WordPress https://www.seedprod.com/
►Best WordPress Giveaway Plugin https://rafflepress.com/

–Related Videos–
►WordPress Tutorial – How to Make a WordPress Website for Beginners https://www.youtube.com/watch?v=DvbFBxKcORA
►WordPress Gutenberg Tutorial: How to Easily Work With the Block Editor https://www.youtube.com/watch?v=JjfrzGeB5_g
►What is SEO and How Does it Work? https://www.youtube.com/watch?v=JjfrzGeB5_g
►How to Install a WordPress Theme https://www.youtube.com/watch?v=ZIPQRQLAz90

For this tutorial we will be using the WP Mail SMTP plugin which can be found using the link below:

https://wordpress.org/plugins/wp-mail-smtp/

With the plugin installed and activated, we will go under Settings, WP Mail SMTP, and select Gmail. For this we will need to set up a client ID, Client Secret and a URL in the ‘Authorized redirect URI’ fields. To start filling that out we will want to go to the Google Developers Console site and create a new project. You can go to the site using the link below:

https://console.developers.google.com/apis/dashboard

We would recommend naming the project something you can remember should you need to find it again and click the create button. Use the Enable APIs and Services to go through the options and enable the Gmail API.

On the following page, it should have a Create Credentials button in the top right of the page. For the type of API, it will be a Gmail API and we will be calling the API from a Web browser(Javascript) and we will be accessing User data then we will ask what credentials we will need.

In the Authorized Javascript origins, we will add the address of our site. For the Authorized redirect URI, we will get that from the plugins settings page and click refresh to bring up the consent screen. For setting it up, we will use an External, name it, add our email, and publish the app to get our information.

Copy the Client ID from Google to add to your plugin’s settings, click done, and edit the OAuth client ID to grab the secret key to include in the plugin’s settings and save the settings to ensure you don’t lose the information.

You can send another email or for another option, you can set up another SMTP which would require your login information which is far less secure.

If you liked this video, then please Like and consider subscribing to our channel here for more WordPress videos.
https://www.youtube.com/subscription_center?add_user=wpbeginner

Join our group on Facebook
https://www.facebook.com/groups/wpbeginner

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

Check out our website for more WordPress Tutorials
http://www.wpbeginner.com
#WordPress #WordPressTutorial #WPBeginner

source

33 Comments

  • Vitor Hugo on May 17, 2021

    Thank you so much!

  • Merrick Liew on June 18, 2021

    thank you. i got my form working from learning from you. Google has updated the developer screen so some hiccup but managed to get there. Thank you so much. you are wonderful!

  • Anna Johansson on June 24, 2021

    Thanks for the video. Helped solve my problem.

  • Bradley Cook on July 15, 2021

    This would be a FANTASTIC video, but Google's control panel has evidently changed almost ENTIRELY since this video was created. I can begin by creating a project, name it, click the "Create" button, and "Enable APIs and services." Beyond that, it's all COMPLETELY different than is shown in your video, and I am hopelessly lost. If you or anybody can help me, please contact me at MyRealtorBradley@Outlook.com. Thank you.

  • NDRS G on July 15, 2021

    The settings here is different from the current plugin… there was a update and the whole set up steps changed

  • James Fletcher on July 20, 2021

    thankyou

  • Dennis Dunleavy on July 22, 2021

    How do you set up a Gmail account for clients if you do not have their Gmail passwords?

  • Estefania's Art on July 31, 2021

    I am still getting the emails in my spam folder

  • DJ TILL FESTEN dtf on August 4, 2021

    Thank u soooo much

  • Mobuter on August 10, 2021

    thanks, it was simple and to the point

  • pureNaturel on August 18, 2021

    Very concise to the point guide. Thank you.

  • Dinithi Navodya on August 31, 2021

    You're a lifesaver. Thanks a million times! ❤❤❤

  • LionKing Gaming on September 5, 2021

    congrats mam & Thanks a lot but i am facing problem on webmail smtp.please recommend a way

  • Persian hill on September 9, 2021

    Your video literally saved my time again because again I am stuck with the same but luckily your video saved me!! Thank you so much!!!

  • Hassam Ul Haq on September 12, 2021

    Its working. The teaching way is really good.

  • Zhong Jin Khoo on September 13, 2021

    Thx for your video to guide me steps by steps and solve the issues

  • Mounir Ouanaimi on September 15, 2021

    Thank you so much… This is awesome. The interface changed already but the principles are still the same. If you are planning further videos about this, it would be amazing to touch on the SPF DKIM DMARC aspects of things. I managed to complete the SPF part relying on Google steps, but I gave up on the others. Still the email seems to be delivered normally now. Can't thank you enough.

  • shankar on September 23, 2021

    hi, getting Error 403: access_denied at Authorization

  • Johnny Ruiz on September 25, 2021

    need help with activate part

  • kelb89 on September 26, 2021

    Great video. Clear, beginner friendly and straight to the point. Subscribed.

  • Vlad Lipovsky on September 29, 2021

    Thank you for a detailed guide! Google changed order of some steps but I still could manage the set up

  • The Other Channel on September 29, 2021

    Do you have a video on how to hook up the email to a contact form? I created a custom html contact form with the field information I need, but now I need it to be hooked up so it can actually do something and send emails to myself from the people who is using the contact form..

  • CDGMR1 on September 30, 2021

    You are a life saver!!! I was trying with another YouTube video and didn’t work. I found your video and it worked!!! Thank you so much.

  • Goran Ilic on October 6, 2021

    How to set URI in google console for testing purposes in localhost?this is proper aproach only for production mode.Thank you?

  • Dakhm Bangladesh on October 17, 2021

    Thank You very much for the video. It worked in 2021 October, but google console as structure a bit change so I need to find out on some points that was on different place in google dev console. This video helped me to use gmail as SMTP server and before google was sending order emails from woocommerce to spam of customer but after doing the above video steps I tested the customers email was going to their normal gmail account and not spam and a BIG YELLOW saying Becareful notice on the customer order email inside in gmail account is also gone 🙂

  • Mayank Singh on October 28, 2021

    Thanks so much for the amazing video. But I need help with one thing.

    Actually I am a web developer and I develop websites for many businesses and each and everyone of them needs an online form. So to activate it on their website the gmail SMTP method, should I use Google API details from my google account, as they wont give me access to their google account and asking them to give me Client ID, client secret & Redirect URI is too technical.

    So plz recommend me what should I do… Your help would be really helpful. Thanks 🙂

  • Profit With Fritz on November 5, 2021

    Thanks for the video 🙂. A quick question….. What is the daily sending LIMIT and PRICING?

  • Beaz box on November 7, 2021

    Thanks for this video, but everything changed after" what kind of creds you need" . The options are Web app, android, chrome app, iso, tv desktop app UWP… there's no Web browser option

  • Zain Ahmad on November 25, 2021

    Thank you very much mam💕

  • Cinematic Tools on November 27, 2021

    I would've NEVER figured that out on my own haha
    THANK YOU!!!!! Your 6 minute video solved what I've been struggling with for the past day and a half.

  • bin aziz on December 2, 2021

    I recive but can't send

  • Nay619 on December 4, 2021

    Thank you so much !!!

  • Patricia Coone on December 9, 2021

    I can't say enough about your helpful tutorials. May you receive whatever Christmas blessing you have been hoping for.

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

 

 

WEBFI NETWORK OFFICE HOURS 

Mon-Sun from 8:00 am /4:00 pm USA-ET

WhatsApp us

Small Business – WordPress – CPanel – Hosting

© Webfinet Affordable Private Small Business Solutions All Rights Reserved 2021 - Powered By WEBFINET.com
error: WEBFINET SECURITY IS ON