How to Set Up SMTP Using Gmail SMTP in WordPress?

Key Takeaways

  • Nexter Extension allows users to set up Gmail SMTP easily from the WordPress Dashboard.
  • Users must generate a Google Client ID and Client Secret to use Gmail SMTP with Nexter Extension.
  • The Nexter SMTP pop-up requires users to input a sender email, sender name, Client ID, and Client Secret.
  • After authorization, users can send a test email to verify the connection.
Table of Contents

Are your WordPress emails going to spam or not being delivered at all? By default, WordPress uses the PHP mail function to send emails — but many hosting providers don’t support it well. This often leads to important emails (like contact form messages, order confirmations, or password resets) ending up in spam folders or getting blocked completely. If you’re running a business or e-commerce site, this can be a serious issue.

Using Gmail SMTP (Simple Mail Transfer Protocol) is a reliable solution. With the Nexter Extension (Free) plugin, you can easily set up SMTP using Gmail SMTP. 

 

How to Set Up Gmail SMTP with the Nexter Extension

YouTube video

To set up Gmail SMTP with Nexter Extension, from the WordPress Dashboard, go to Nexter > Extensions > Utilities.

Then go to the SMTP Email section, enable the toggle and click on the gear icon (⚙).

enable smtp email new

It will open the SMTP Email pop-up, then go to the Gmail SMTP tab.

smtp email popup new

To use Gmail SMTP, you have to generate a client ID and a client secret.

Generate Google Client ID and Client Secret

1. For this, you have to log in to your Google account and go to the Google Developers Console.

2. If you don’t have any projects created, then click on the CREATE PROJECT link, but if you already have a project, then click on the current project name. It will open a pop-up, then click on the New Project link there.

google-client-id-secret-1

3. On the next screen, add your Project name and click the CREATE button.

google-client-id-secret-2

4. Once the project is created, a notification will show; click on the Select Project link there to switch to the new project.

google-client-id-secret-3

5. Then go to the Library from the left sidebar.

google-client-id-secret-4

6. Then search for “Gmail API”.

7. From the search result, click on the Gmail API.

8. On the next page, click the Enable button. 

9. After that, click on the OAuth consent screen from the left sidebar.

google-client-id-secret-6

10 Then click on the Get Started button.

google-client-id-secret-7

11. Then add your app information. Enter the app name and the user support email, then click on the Next button.

google-client-id-secret-8

12. Then select the Audience as External and click on the Next button.

google-client-id-secret-9

13. After that, add a contact email address and click on the Next button.

google-client-id-secret-10

14. Then, check the Google API services user data policy and click on the Continue button.

Once done, click on the Create button.

google-client-id-secret-11

15. On the next page, click on the Create OAuth client button.

google-client-id-secret-12

16. Then, from the Application type dropdown, select Web application

You can keep the Name as it is.

17. After that, in the Authorised JavaScript origins section, click the ADD URI button and add your website URL – Example: https://www.yourwebsite.com.

18. Then, in the Authorised redirect URLs section, click on the ADD URI button, then go back to the Nexter Email SMTP popup and copy the Redirect URI and paste it here.

19. Once done, click on the Done button.

20. Now you’ll see the Client ID in a pop-up. You can copy it into a notepad and click on the OK button.

google-client-id-secret-14

21. On the next screen, click on your client name.

google-client-id-secret-15

22. On the next screen, you’ll see both Client ID and Client Secret. 

Copy both in a notepad.

google-client-id-secret-16

Set up Gmail SMTP with the Nexter Extension

1. Now, in the Nexter SMTP pop-up, add a sender email and name in the From Email and From Name fields.

2. Then add the Client ID and Client Secret in the Client ID and Client Secret fields.

3. After that, click on the Authorize with Gmail button.

add client id client secret new

4. It will open a pop-up, select the same Gmail account that you’ve used to create the app.

gmail-smtp-connection-1

5. Then click on the Continue link to bypass the Google verification.

gmail-smtp-connection-2

6. On the next screen, again click on the Continue button. 

gmail-smtp-connection-3

7. Then, in the next screen, allow all permissions and click on the Continue button.

gmail-smtp-connection-4

8. Now you’ll see your app has been authorized.

gmail smtp connection 5 new

Send Test Email

Once authorized, you’ll see a field to send a test email, add an email ID, and click on the Send button to verify the connection.

gmail smtp send test email new

You should receive a test email in your entered email address.

gmail-smtp-test-email

About the Author

Photo of Aditya Sharma CMO of NexterWP
CMO at POSIMYTH Innovations · NexterWP · 7 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordpressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

What should I do if my test email doesn't arrive after setting up Gmail SMTP?

If your test email doesn't arrive, check your spam folder first, as emails often end up there. Ensure that you've correctly followed the steps to generate the Client ID and Client Secret in the Google Developers Console. Additionally, verify that you've authorized the correct Gmail account during the setup process. If issues persist, consider checking your server's email configuration or consult your hosting provider.

What are the best practices for setting up Gmail SMTP in WordPress?

When setting up Gmail SMTP, ensure that you use a dedicated Gmail account for sending emails to avoid issues with email limits. It's also crucial to enable the Gmail API and set the correct redirect URIs in the Google Developers Console. This setup minimizes the risk of emails being marked as spam and ensures reliable delivery. The Nexter Extension simplifies this process by guiding you through the necessary steps.

How do I generate a Google Client ID and Client Secret for Gmail SMTP?

To generate a Google Client ID and Client Secret, log in to your Google account and navigate to the Google Developers Console. Create a new project, enable the Gmail API, and set up the OAuth consent screen. After that, create an OAuth client ID for a web application and add your website's URL as an authorized redirect URI. Copy the Client ID and Client Secret for use in the Nexter Extension.

Does the Nexter Extension support other SMTP providers besides Gmail?

The page specifically discusses setting up Gmail SMTP using the Nexter Extension, but it does not mention support for other SMTP providers. If you're looking for alternatives, you may need to explore other plugins or solutions that explicitly support different SMTP services. The Nexter Extension is designed primarily for Gmail integration.

Last reviewed: April 14, 2026

Related Docs