If youāve ever had issues with your WordPress emails not being delivered, youāre not alone. Contact form notifications, password resets, and order confirmations can all fail without a properly configured mail system. Thatās exactly what happened to meāuntil I discovered WP Mail SMTP.
In this post, Iāll walk you through how I used WP Mail SMTP to send emails from my WordPress site using my personal Gmail address. Itās free, reliable, and surprisingly simple to set up.
š§ Why WP Mail SMTP?
By default, WordPress uses PHP mail, which many hosting providers restrict or block to prevent spam. WP Mail SMTP solves this by letting you send emails through a real SMTP serverālike Gmailās. This means:
- Better deliverability
- Fewer emails marked as spam
- Complete control over how and where your WordPress emails are sent
š§© Step 1: Installing the Plugin
I started by installing WP Mail SMTP from the WordPress plugin repository:
- Go toĀ Plugins > Add New
- Search forĀ “WP Mail SMTP”
- ClickĀ InstallĀ and thenĀ Activate
āļø Step 2: Configuring with My Gmail Account
Once activated, I went to WP Mail SMTP > Settings and chose Gmail as the mailer. Then, I followed the guided steps to set it up using Google API credentials. Hereās a quick summary:
š What You Need to Do:
- Create aĀ Google Cloud Project
- Enable theĀ Gmail API
- Set upĀ OAuth 2.0 credentials
- Add yourĀ Authorized redirect URIĀ from WP Mail SMTP settings
- Copy and paste yourĀ Client IDĀ andĀ Client SecretĀ into the plugin settings
The plugin has detailed instructions during setup, so I didnāt feel lost at all.
š Step 3: Granting Gmail Access
After entering the credentials, I clicked āAllow plugin to send emails using my Google account.ā A quick login and confirmation on Googleās side, and I was ready to go.
ā Step 4: Testing It Out
Finally, I used the “Email Test” feature in WP Mail SMTP to make sure everything was working. The test email landed in my inbox instantlyāfrom my personal Gmail address.
š Why I Love This Setup
- Professional: All emails come from my personal Gmailāno more weird āwordpress@mydomain.comā messages.
- Reliable: Deliverability improved instantly.
- Free: I didnāt need to upgrade to Pro or pay for a third-party SMTP service.
- Secure: Google handles authentication with OAuth 2.0.
šÆ Final Thoughts
If your WordPress site isnāt sending emails properly, or if you want to ensure emails actually reach inboxes, I highly recommend WP Mail SMTP. Pairing it with Gmail is a fantastic option, especially if you already use your Gmail address professionally.
Let me know in the comments if you run into any issuesāIām happy to help!