Gmail SMTP icon
Email & Marketing

Gmail SMTP

Connect to Gmail SMTP server to automatically send email from your WordPress site. Configure wp_mail() to use SMTP with OAuth 2.0 authentication.

  • By Noor Alam
  • v1.2.3.24 New
  • Updated

Is Gmail SMTP safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 2 weeks ago (version 1.2.3.24).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.1; the current release is 7.1. Needs PHP 8.1+.
  • Pass: Well rated Rated 4.1/5 by 103 users on WordPress.org.
  • Pass: Widely used Active on 10,000+ sites.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 17, 2026. Always keep plugins updated and test changes on a staging site.

Overview

Gmail SMTP describes itself as: “Connect to Gmail SMTP server to automatically send email from your WordPress site. Configure wp_mail() to use SMTP with OAuth 2.0 authentication.”

It is active on 10,000+ WordPress sites and rated 4.1 out of 5 by 103 users on WordPress.org. Developers can extend it through 4 actions and 8 filters, listed below.

We haven't published a hands-on review of Gmail SMTP yet. Want one, or need help with it? Send us a request.

How to install Gmail SMTP

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Gmail SMTP” and pick the one by Noor Alam.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install gmail-smtp --activate

Requirements: WordPress 7.0+ · PHP 8.1+ · tested up to WordPress 7.1.4

Hooks & customisation

Gmail SMTP 1.2.3.24 fires 4 actions and 8 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

gmail-smtp — top hooks
// This filter is documented in wp-includes/pluggable.php
do_action( 'wp_mail_failed', new WP_Error( 'wp_mail_failed', $e->getMessage(), $mail_error_data ) );

// Fires after PHPMailer is initialized.
do_action_ref_array( 'phpmailer_init', array( &$phpmailer ) );

// Filters the default wp_mail() charset.
apply_filters( 'wp_mail_charset', $charset );

// Filters the wp_mail() content type.
apply_filters( 'wp_mail_content_type', $content_type );

// Filters the arguments for PHPMailer's addEmbeddedImage() method.
apply_filters( 'wp_mail_embed_args', … );

// Filters the email address to send from.
apply_filters( 'wp_mail_from', $from_email );

Browse all 12 hooks with examples →

Gmail SMTP: frequently asked questions

Is Gmail SMTP free?

Yes. Gmail SMTP is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Gmail SMTP safe to use?

Gmail SMTP is actively maintained: the latest version was released 2 weeks ago. Users rate it 4.1 out of 5 from 103 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Gmail SMTP work with WordPress 7.1?

Yes. Gmail SMTP is tested up to WordPress 7.1, the current release. It requires WordPress 7.0 or later and PHP 8.1 or later.

How many websites use Gmail SMTP?

Gmail SMTP is active on 10,000+ WordPress sites, according to WordPress.org. It is currently at version 1.2.3.24, last updated on November 8, 2026.

What are the best alternatives to Gmail SMTP?

Plugins that do a similar job and are actively maintained include WP Mail SMTP by WPForms (4+ million installs), FluentSMTP (700,000+ installs), Post SMTP (300,000+ installs).

Can I customise Gmail SMTP without editing its code?

Yes. Gmail SMTP 1.2.3.24 fires 4 actions and 8 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 12 hooks with examples.

Done for you

Need Gmail SMTP to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom hook snippet

from $49

A small, update-safe change built on the plugin’s own hooks.

  • Code written against the plugin’s actions and filters
  • Tested on a staging copy of your site
  • Install instructions included

Typical turnaround: 2–3 business days

Choose this

Bug or conflict fix

from $79

Errors, broken layouts or two plugins that don’t get along.

  • Find the cause on a staging copy
  • Fix without breaking updates
  • Explain what was wrong

Typical turnaround: 1–3 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Gmail SMTP customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Noor Alam. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.

About the developer

Noor Alam

21 plugins · 152,000+ installs in total · 14 of 21 updated in the last year

  • Released this month
  • Some plugins look abandoned
65 maintenance
score
Developer profile →

More plugins by Noor Alam

All 21 →

Configure a SMTP server to send email from your WordPress site. Configure the wp_mail() function to use SMTP instead of…

70,000+ installs 12 hooks

Easy Video Player is a WordPress video player that allows you to add videos to your WordPress site.

20,000+ installs 6 hooks

Easy Media Download allows you to embed download buttons on your WordPress site. Add file download functionality with this WordPress…

8,000+ installs 3 hooks

Embed video file beautifully in WordPress using Video.js HTML5 Player. Embed HTML5 compatible responsive video in your post/page with Video.js.

7,000+ installs 1 hooks

Alternatives in Email & Marketing

See all →

Make email delivery easy for WordPress. Connect with SMTP, Gmail, Brevo, SendGrid, Amazon SES + more, with powerful WordPress SMTP…

4+ million installs 215 hooks

The #1 Mailchimp plugin for WordPress. Allows you to add a multitude of newsletter sign-up methods to your site.

1+ million installs 101 hooks

Launch and grow your email marketing effortlessly with Hostinger Reach. Collect contacts, sync subscribers, and send emails – all in…

1+ million installs 27 hooks

🤩 Make popups & optin forms to get more email newsletter subscribers, leads, and sales - #1 most popular popup…

1+ million installs Reviewed 75 hooks