📊 State of Magento 2025

The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

606 Modules
385 Ready
218 Need Help
🏆 Leaderboard
Top 10% by Downloads Actively Maintained v3.0.4

Magento 2 SMTP by MagePal

magepal/magento2-gmailsmtpapp

Configure Magento 2 to send email using custom SMTP server, Gmail, Amazon SES, Office365 and other

1,750,202
Downloads
8x above avg
324
GitHub Stars
9x above avg
6d ago
Last Release
14
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
138 warnings
PHPStan Failed

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

v3.0.4 on Magento 2.4.8-p3
Jan 12, 2026
v3.0.3 on Magento 2.4.8-p3
Dec 16, 2025
v3.0.3 on Magento 2.4.8-p2
Nov 23, 2025
v3.0.2 on Magento 2.4.8-p2
Aug 16, 2025
v3.0.1 on Magento 2.4.8-p2
Aug 14, 2025
v3.0.1 on Magento 2.4.8
Jun 21, 2025

+10 older tests

Share This Module's Status

Magento 2 SMTP by MagePal Magento compatibility status badge

README

Loaded from GitHub

Magento 2 SMTP Extension - Gmail, G Suite, Amazon SES, Office 365, Mailgun, SendGrid, Mandrill and other SMTP servers.

Total Downloads Latest Stable Version GitHub stars GitHub forks

For Magento / Adobe Commerce 2.0.x, 2.1.x, 2.2.x, 2.3.x and 2.4.x

OAuth SMTP Extension

Tired of dealing with email password issues? Upgrade to our OAuth SMTP Extension for Magento 2 and enjoy secure, password-free email delivery. Learn more about our OAuth SMTP Extension and get started today!

Configure Magento 2 / Adobe Commerce to send all transactional emails using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 or any other SMTP servers.

Sending transactional emails to customers is a vital part of running an e-commerce store. Our free custom Magento extension integrates with all major email service providers and third-party SMTP servers to reliably deliver messages to customers' inboxes.

What is SMTP - Simple Mail Transfer Protocol

SMTP or Simple Mail Transfer Protocol allows you to send emails from your Magento 2 store through a specific third-party mail SMTP server. For example, if you want to use your Gmail, Amazon, Microsoft or any other mail server account to send email from your Magento web store, all you need is to configure that mail server setting in our extension in Magento without having to do any complex server configuration.

Why use a Custom SMTP Server with Magento

By default, most hosting companies' mail servers are configured to send email from unauthorized senders which prevents emails from reliable delivered to recipients. Therefore, most Magento store owners struggle to limit the number of transactional emails that end up in clients' junk mail. Take full control of your email sending settings in Magento 2 and reduce sending emails to your valuable customers' junk mail folder. Emails are delivered instantaneously to their intended recipients without delays or get trap in the spam folder.

Out of the box, Magento 2 doesn't provide the ability to specify your custom SMTP settings for outgoing emails using an external SMTP server. Using this extension bridges the gap and allows your Magento store to connect to your preferred email provider securely and easily.

All you need is either an (i) free Gmail account, (ii) paid Google Apps account or any other SMTP service (i.e Amazon Simple Email Service / Amazon SES, Microsoft Office365).

Learn more about our custom SMTP extension.

NOTE - Gmail / Google Account

To help keep your account secure, starting May 30, 2022, ​​Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password.

Please note this deadline does not apply to Google Workspace or Google Cloud Identity customers. The enforcement date for these customers will be announced on the Workspace blog at a later date.

For more information, please continue reading.

Special Note on Apple Device Sign-Ins. Users who have not recently signed into their Google Account using only username and password will be able to only make new sign in attempts using the Google account type starting from February 28, 2022. Existing users may continue to sign into their Google Account using their username and password until May 30, 2022.

Benefits of using Gmail SMTP

Since Google's, Gmail and G Suite SMTP server does not use Port 25, you'll reduce the probability that an ISP might block your email or flag it as SPAM. Also, all your emails sent from Magento will be searchable and backed-up in your email account on Google's servers.

Features

  • Send emails through virtually any external SMTP server from your Magento store
  • Easily configure Magento 2 SMTP settings from within Magento2 store admin
  • Complete control of custom SMTP server settings: Hostname, Port, Username, Password, ...
  • Self-test option, which lets you verify your email credentials are correct before saving
  • Support Multi-store, configurable different email providers/accounts per store
  • Support secure SMTP servers: TLS / SSL, Plain-text, username/password, CRAM-MD5 authentication
  • Customize email headers: From / Reply-To / Return-Path
  • Easily disable/enable our extension from admin
  • Developer Friendly
  • Integrate with any third-party SMTP server

Get more from your order confirmation emails by promoting other complementary products and services. Learn more about our new Enhanced Transactional Email extension.

Documentation

SMTP Service Providers

  • Gmail
  • Google App
  • G Suite
  • Amazon Simple Email Service (SES)
  • Microsoft Office365
  • Outlook
  • SparkPost
  • GoDaddy
  • Mandrill
  • MailGun
  • SendGrid
  • Elastic Email
  • Hotmail
  • AOL Mail
  • Yahoo Mail
  • AT&T
  • Verizon
  • Postmark
  • O2 Mail
  • Zoho
  • Mailjet
  • Mail.com
  • Your Company SMTP Server
  • and many other SMTP servers

How to Install Magento SMTP Extension

Using Composer (recommended)
composer require magepal/magento2-gmailsmtpapp

Contribution

Want to contribute to this extension? The quickest way is to open a pull request on GitHub.

Support

If you encounter any problems or bugs, please open an issue on GitHub. For fast Premium Support visit our Custom SMTP Extension product page for detail.

Need help setting up or want to customize this extension to meet your business needs? Please email support@magepal.com and if we like your idea we will add this feature for free or at a discounted rate.

Magento 2 Extensions

© MagePal LLC. | www.magepal.com

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.