📧 How to Send Email in WordPress using the Gmail SMTP Server 📤
Are you having trouble sending and receiving emails from your WordPress site?
Get WPForms https://wpforms.com/wpbeginner
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:
WP Mail SMTP by WPForms – The Most Popular SMTP and Email Log Plugin
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
Tweets by wpbeginner
Check out our website for more WordPress Tutorials
http://www.wpbeginner.com
#WordPress #WordPressTutorial #WPBeginner
by WPBeginner – WordPress Tutorials
linux smtp client
Get WPForms https://wpforms.com/wpbeginner
Gmail asks too many questions, acting like a bitch
Thank you ❤
I need help. I can't afford buying domain for project. I made my localhost website to have SSL activated. However, I can't now send emails cause I get an error cURL error 60: SSL certificate problem: unable to get local issuer certificate
Thanks a million !! 🤩🤩🤩🤩🤩🤩
Excellent video, Thank you! Many of the options have moved and I was receiving an error that the account is still in test mode, I had to hit the Publish button in the Credentials tab. I found this video useful as well to fix the errors: https://youtu.be/m7wd016ARSU?si=U7-_UG0Bw88z8dXX
Thank you so much for this video!!!!!! I was getting ready to pull my hair out. The quality of your video and voice made your already perfect instructions easy to understand. Thank you!!!
Great video! I created a business email with my web service provider and entered that as the WP SMTP email. I ran a test and got a successful email. When I tested my WP contact form, it went straight to my junk inbox. Can you offer any suggestions on how to correct this?
not easy to follow, it's different from 2023
thanks for the video! what about the scopes in oauth consent screen? i did all your steps up to "allow plugin to send…", then got an "gooole hasn't verified this app" message. i got no button to continue other than "back to safety". can you please help? thanks
not working on my website… it show tour access is denied
Thanks !!!
note: you need a premium account to install the plugin, and that's $40/month. Meh.
In 2023, it does not go like this. It asks for Gmail Client ID and Client secret…. No anwer to that. I see that nowehere in your video… Maybe you could update it? Grazie mille
What if I’m dealing with a godaddy email
Unbelievable! All that to send emails through Gmail? OMG, You forgot a DNA sample! 🤣
great video and beginner friendly
Access blocked: This app’s request is invalid this is the error I'm facing while doing this in wordpress
it says Google hasn’t verified this app and i cant connect at the end help!
Very good video. But how can you handle this for your clients. Do you need client's Google (Gmail account and password) to access their Google Cloud Project?
I was just having a look and it seems like you will be charged for using the API. When registering I am asked to put in my payment information.
I was just wondering… this video is 2 years old, things might have changed.
I am only getting email from contact form when my own email is used in the form, otherwise I am unable to receive email through contact form. Can you please help?
what to write in the organization part?
kindly tell plz
this video helped soo much to my bussines! thankyou very much!!!!!!!!!!
Thank you so much – this video helped solve my WP gmail problems. I really appreciate your time and effort putting this together.
Great tutorial, however google is asking me about scopes? You didnt cover anything for this. Any insight would be greatly appreciated.
I tried creating a new project today, however it only gives me the option to add a project name and select a location, it does not let me add the authorised java script origin and redirect URI's.
Any suggestions? Thanks for your help
Thank you so much!
perfect tutorial its works for me thank you