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
Thank you so much!
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!
Thanks for the video. Helped solve my problem.
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.
The settings here is different from the current plugin… there was a update and the whole set up steps changed
thankyou
How do you set up a Gmail account for clients if you do not have their Gmail passwords?
I am still getting the emails in my spam folder
Thank u soooo much
thanks, it was simple and to the point
Very concise to the point guide. Thank you.
You're a lifesaver. Thanks a million times! ❤❤❤
congrats mam & Thanks a lot but i am facing problem on webmail smtp.please recommend a way
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!!!
Its working. The teaching way is really good.
Thx for your video to guide me steps by steps and solve the issues
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.
hi, getting Error 403: access_denied at Authorization
need help with activate part
Great video. Clear, beginner friendly and straight to the point. Subscribed.
Thank you for a detailed guide! Google changed order of some steps but I still could manage the set up
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..
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.
How to set URI in google console for testing purposes in localhost?this is proper aproach only for production mode.Thank you?
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 🙂
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 🙂
Thanks for the video 🙂. A quick question….. What is the daily sending LIMIT and PRICING?
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
Thank you very much mam💕
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.
I recive but can't send
Thank you so much !!!
I can't say enough about your helpful tutorials. May you receive whatever Christmas blessing you have been hoping for.