Công Nghệ

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:

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

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

Check us out on Facebook

Follow us on Twitter

Checkout our website for more WordPress Tutorials

Nguồn: https://77days.net/

Xem thêm bài viết khác: https://77days.net/cong-nghe/

Công Nghệ
SNIPER GHOST WARRIOR 3 Gameplay Trailer Cấu hình game
Công Nghệ
Cách Lấy Lại Tài Khoản Garena Bị Hack (Bị Mất)
Công Nghệ
Tổng Đài FPT Chăm Sóc Khách Hàng
  • How many mails to how many contacts I can send each day maximum


  • Thanks a lot, appreciate it 😀


  • Nope. Need to do some kind of consent screen that talks about HUGE amounts of money… I backed out of all this.


  • How do you receive WP mail into gMail?


  • Thanks!


  • You guys literally have the link for LOGGING OUT of Google in the description rather than the console link I don't know how this video is two years old and this hasn't been noticed or pointed out.


  • Thank you! The main difference that threw me off was that the OAuth consent screen stuff came up first and I had no idea what it was, but I Googled my way to victory.


  • DD

    Author Reply

    OUTDATED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


  • OMG Thank goodness for you and this video!!! I have been dreading this setup and I was able to follow along step by step and IT ACTUALLY WORKED!! Thank you!


  • Excelent. It works perfect. Simple and easy to understand explanation.


  • Thank you for the video! does it work when someone write you an email trough your contact form 7 in the website does it goes to the gmail as well?


  • In set up credential I din't get the "creat Client ID" button, on the same place I found refresh button, when I refresh the button then appear a popup "Set up OAuth consent screen", what to do in this situation?


  • Me has salvado, ya estaba exhausto nada funcionaba para configurar el mail de mi nueva página web.

    Muchas Gracias.

    It has saved me, I was already exhausted, nothing worked to configure the email of my new website.

    Thank you.


  • Any new steps for 2020


  • Thank you for this! Worked out well!


  • Thank you. It took a few tries, but it worked.


  • how many emails can you email out?


  • It was really helpful. Thank you so much.. I am subscribing your channel for this 🙂


  • The process of other smtp is not working with hostgator india. Can you please help. Please reply. I am facing a huge problem for this. Any other method?


  • its not working


  • Its working 100% thanks!


  • Excellent ! You save my day. Lots of gratitude 🙏


  • Thanks for making this video! Much appreciated! 🙏🏽 😁


  • it is free


  • Would the emails be sent showing your personal email Address or the blog's email address?


  • i have done the same settings but email is not sending


  • HaluHalu

    Author Reply

    I followed every step. Just when I hit the last button, I got the error message saying, "This app is not verified by Google yet". How do I proceed??


  • Thanks very much for the tutorial. It was very useful.


  • I get lost at 3:06 because I don't have a create client ID. I have a refresh button and I can do nothing. I click enter like I said and it goes into a look asking me to create a project! Please update video for latest version.


  • A few things. You assume we know what "new tab" to open up at the 2:00 minute mark. I took a wild shot in the dark & typed in the address that was showing in your video (https://console.developers.google.com) but there is no mention of this in the video. How are "newbies" like myself supposed to know that this is the "new tab" that we are supposed t open up?? You also run through the "create a new project" so quickly it's hard to follow. Then you don't explain what we should name the new Project.(Does it matter or not??) You don't mention anything about the Email Address in Step 3 of the Credentials setup. You just jump to the Product Name Shown to Users (Which you don't explain either.)


  • hi, (

    400. That’s an error.

    Error: redirect_uri_mismatch)
    please what do i do?


  • Unfortunately, this hasn't worked for us. Were using a contact form and receiving a message to say it's been sent but we don't receive the from the destination email address, could you advise, please?


  • IT WORKED THANK YOU SO SO MUCH!!! Was struggling with it as I am a new developer learning things and wondered if there was a free method to do this.


  • JuanJuan

    Author Reply

    you're a life saver. Thx


  • how much mail i can send per hour with quad core up to 4×4.0 GHz,DDR4 SSD 2×500, connection 1gbit/s.


  • I was following the first step but on the last part on the gmail part. It says "this application is not authenticated"


  • hi, This smtp service is free or paid?