DEV Community

Cover image for How to Send Emails From WordPress Using Gmail SMTP for Free
Meghna Meghwani for ServerAvatar

Posted on Originally published at serveravatar.com

How to Send Emails From WordPress Using Gmail SMTP for Free

WordPress may show a reassuring “message sent” notice even when no email reaches the recipient. That gap is frustrating when the missing message is a password reset, contact-form notification, new-account email, or order receipt. WordPress Gmail SMTP provides a reliable way to send emails through Email’s SMTP server instead of relying on your web host’s default mail function.

You can send emails from WordPress using Gmail SMTP without paying for a separate email service. The setup in this guide uses FluentSMTP, a free WordPress plugin, and a Google App Password. It is suitable for personal sites, portfolios, staging sites, and small websites that send a modest number of transactional messages.

This isn’t a newsletter solution, and it won’t guarantee inbox placement. What it will do is replace the server’s often-unreliable default mail path with an authenticated connection to Gmail. You’ll learn how to decide whether Gmail is appropriate, prepare the account safely, configure WordPress, verify more than a green success message, and diagnose the failures that usually trip people up.

TL;DR

  • Install the free FluentSMTP plugin and select Other SMTP.
  • Use smtp.gmail.com, TLS encryption, and port 587.
  • Turn on Google 2-Step Verification and create a dedicated App Password.
  • Keep the WordPress From Email identical to the Gmail account used for authentication.
  • Send a test, inspect the email log, and check the received message headers.
  • Use Gmail only for low-volume transactional messages, not newsletters or bulk campaigns.
  • Prefer OAuth when your chosen plugin offers a practical Gmail integration; Google recommends it over App Passwords.

First, Understand What This Setup Changes

WordPress applications commonly call the wp_mail() function when they need to send a message. By itself, wp_mail() is only an interface. It passes the message to the configured mailer; it does not provide a reputation system or an email-delivery network.

On many VPSs, WordPress hands mail to PHP’s local mail function. That route can fail because the server has no mail transfer agent, outbound SMTP ports are restricted, the sending IP has a poor reputation, or the message lacks authentication that receiving providers expect.

An SMTP plugin changes the transport. Instead of asking the web server to deliver the message directly, WordPress authenticates with Gmail and asks Google to send it.

Component_table

This distinction matters during troubleshooting. A successful plugin log means Gmail accepted the submission. It does not prove that the recipient’s provider placed the message in the inbox.

Email reliability is only one part of WordPress performance; if your site also has slow server response times, see our WordPress TTFB optimization guide.

Is Free Gmail SMTP the Right Choice for Your WordPress Site?

Gmail SMTP is useful when the site sends occasional operational emails. Think of a portfolio contact form, a small membership site, an internal staging environment, or a low-traffic blog where password resets are the main concern.

It is a poor fit for:

  • Marketing newsletters
  • Large membership communities
  • Busy WooCommerce stores
  • Applications with bursts of notifications
  • Sites that need delivery analytics, bounce processing, suppression lists, or guaranteed support

Google enforces sending and recipient limits, and the thresholds vary by account type and sending method. See Google’s Gmail sending limits for the current restrictions. Google’s consumer help page warns that sending may be suspended temporarily when limits are reached, while Google Workspace publishes separate limits for paid organizational accounts. Treat those limits as ceilings, not daily targets. They can change, and anti-abuse systems can restrict suspicious sending before a published maximum is reached.

If your site sends only a few dozen transactional messages on a normal day, Gmail can be a sensible free starting point. If email is tied directly to revenue or customer access, use a transactional provider designed for application mail.

Read Full Article: https://serveravatar.com/wordpress-gmail-smtp

Top comments (2)

Collapse
 
bhavin-allinonetools profile image
Bhavin Sheth

Good distinction between SMTP acceptance and actual inbox delivery. The advice to check headers and logs instead of trusting a “sent” message is especially useful for WordPress troubleshooting.

Collapse
 
meghna_meghwani_ profile image
Meghna Meghwani ServerAvatar

Thank you for your thoughtful feedback!
Absolutely, “sent” only confirms that WordPress handed the email off to the SMTP server. Checking the email headers and logs is often the best way to figure out what happened afterward, especially when troubleshooting delivery issues.