PHPackages                             magepal/magento2-gmailsmtpapp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. magepal/magento2-gmailsmtpapp

ActiveMagento2-module[Mail &amp; Notifications](/categories/mail)

magepal/magento2-gmailsmtpapp
=============================

Magento 2 SMTP Extension - Configure Magento 2 to send all transactional email using Gmail, G Suite, Amazon SES, Office360, Mailgun, SendGrid, Mandrill or any other SMTP servers

3.0.5(2mo ago)3321.8M↑39.4%148[7 issues](https://github.com/magepal/magento2-gmail-smtp-app/issues)2proprietaryPHPPHP ~8.2.0||~8.3.0||~8.4.0CI failing

Since Jan 19Pushed 2mo ago19 watchersCompare

[ Source](https://github.com/magepal/magento2-gmail-smtp-app)[ Packagist](https://packagist.org/packages/magepal/magento2-gmailsmtpapp)[ Docs](https://www.magepal.com/)[ Fund](https://www.magepal.com/custom-smtp.html?utm_source=smtp&utm_medium=github%20sponsor)[ RSS](/packages/magepal-magento2-gmailsmtpapp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (49)Used By (2)

[![](https://camo.githubusercontent.com/63f84edb93cd08708650d8e726d9e5a1634dbc2fb8758bd9b2b85a5cb39aa371/68747470733a2f2f696d6167652e6962622e636f2f6448426b59482f4d61676570616c5f6c6f676f2e706e67 "Magento Adobe Commerce")](https://www.magepal.com "Magento Extensions")

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

[](#magento-2-smtp-extension---gmail-g-suite-amazon-ses-office-365-mailgun-sendgrid-mandrill-and-other-smtp-servers)

[![Total Downloads](https://camo.githubusercontent.com/c80d1994f7599cce2dba093d9c7e25ee1a7ca6dfc5844c047bbed0e92c4dc007/68747470733a2f2f706f7365722e6f6b76706e2e6f72672f6d61676570616c2f6d6167656e746f322d676d61696c736d74706170702f646f776e6c6f616473)](https://www.magepal.com/magento2/extensions/custom-smtp.html)[![Latest Stable Version](https://camo.githubusercontent.com/6afdb828abc08e7b9533a1b20cd642bd7150d0675a4276f63965eabb9620c075/68747470733a2f2f706f7365722e6f6b76706e2e6f72672f6d61676570616c2f6d6167656e746f322d676d61696c736d74706170702f762f737461626c65)](https://www.magepal.com/magento2/extensions/custom-smtp.html)[![GitHub stars](https://camo.githubusercontent.com/0fddb2671094ce8c1c2d8cf1b2914e5e1a486a047dc12156d959e6a75210ed43/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6d61676570616c2f6d6167656e746f322d676d61696c2d736d74702d6170702e737667)](https://www.magepal.com/magento2/extensions/custom-smtp.html)[![GitHub forks](https://camo.githubusercontent.com/47c0405e3551b3ee229343867aedb88dcf00951d92578f7883e2e2d2b12641cf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6d61676570616c2f6d6167656e746f322d676d61696c2d736d74702d6170702e737667)](https://www.magepal.com/magento2/extensions/custom-smtp.html)

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

[](#for-magento--adobe-commerce-20x-21x-22x-23x-and-24x)

### OAuth SMTP Extension

[](#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](https://www.magepal.com/magento2/extensions/email.html?utm_source=smtp+oauth&utm_medium=github) 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.

[![Magento SMTP Extension](https://user-images.githubusercontent.com/1415141/90457464-9a4ce380-e0c9-11ea-8aea-61d4f7cb679b.jpg)](https://bit.ly/mp-gh-smpt)

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

[](#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.

[![Magento SMTP Email Extension](https://camo.githubusercontent.com/040c9012c28ec435449f7630ded852d262355e725611c9f87dae91be151cf5c3/68747470733a2f2f696d6167652e6962622e636f2f656357696e632f4d6167655f50616c5f4d6167656e746f5f325f534d54505f457874656e73696f6e2e676966)](https://bit.ly/mp-gh-smpt)

#### Why use a Custom SMTP Server with Magento

[](#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](https://www.magepal.com/magento2/extensions/custom-smtp.html?utm_source=Custom%20SMTP&utm_medium=GitHub%20Learn%20More) extension.

> ### NOTE - Gmail / Google Account
>
> [](#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

[](#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

[](#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](https://www.magepal.com/enhanced-transactional-emails.html?utm_source=ete&utm_medium=GitHub%20Learn%20More) extension.

### Documentation

[](#documentation)

- [How to Install SMTP Magento 2 / Adobe Commerce Extension](https://www.magepal.com/help/docs/smtp-magento/?utm_source=smtp&utm_medium=github#installation)
- [How to setup Magento 2 / Adobe Commerce SMTP Extension](https://www.magepal.com/help/docs/smtp-magento/?utm_source=smtp&utm_medium=github#configuration)
- [How to debugging Magento 2 / Adobe Commerce SMTP Extension](https://www.magepal.com/help/docs/smtp-magento/?utm_source=smtp&utm_medium=github#debug)

### SMTP Service Providers

[](#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&amp;T
- Verizon
- Postmark
- O2 Mail
- Zoho
- Mailjet
- Mail.com
- Your Company SMTP Server
- and many other SMTP servers

### How to Install Magento SMTP Extension

[](#how-to-install-magento-smtp-extension)

##### Using Composer (recommended)

[](#using-composer-recommended)

```
composer require magepal/magento2-gmailsmtpapp
```

Contribution
------------

[](#contribution)

Want to contribute to this extension? The quickest way is to open a [pull request on GitHub](https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/about-pull-requests).

Support
-------

[](#support)

If you encounter any problems or bugs, please open an issue on [GitHub](https://github.com/magepal/magento2-gmail-smtp-app/issues). For fast Premium Support visit our [Custom SMTP Extension](https://www.magepal.com/magento2/extensions/custom-smtp.html?utm_source=Custom%20SMTP&utm_medium=GitHub%20Premium%20Support) product page for detail.

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

Magento 2 Extensions
--------------------

[](#magento-2-extensions)

- [Custom SMTP](https://www.magepal.com/magento2/extensions/custom-smtp.html)
- [Catalog Hover Image for Adobe Commerce](https://www.magepal.com/magento2/extensions/catalog-hover-image-for-magento.html)
- [Enhanced Success Page for Magento 2](https://www.magepal.com/magento2/extensions/enhanced-success-page.html)
- [Enhanced Transactional Emails for Magento 2](https://www.magepal.com/magento2/extensions/enhanced-transactional-emails.html)
- [Google Tag Manager](https://www.magepal.com/magento2/extensions/google-tag-manager.html)
- [Enhanced E-commerce](https://www.magepal.com/magento2/extensions/enhanced-ecommerce-for-google-tag-manager.html)
- [Reindex](https://www.magepal.com/magento2/extensions/reindex.html)
- [Custom Shipping Method](https://www.magepal.com/magento2/extensions/custom-shipping-rates-for-magento-2.html)
- [Preview Order Confirmation](https://www.magepal.com/magento2/extensions/preview-order-confirmation-page-for-magento-2.html)
- [Guest to Customer](https://www.magepal.com/magento2/extensions/guest-to-customer.html)
- [Admin Form Fields Manager](https://www.magepal.com/magento2/extensions/admin-form-fields-manager-for-magento-2.html)
- [Customer Dashboard Links Manager](https://www.magepal.com/magento2/extensions/customer-dashboard-links-manager-for-magento-2.html)
- [Lazy Loader](https://www.magepal.com/magento2/extensions/lazy-load.html)
- [Order Confirmation Page Miscellaneous Scripts](https://www.magepal.com/magento2/extensions/order-confirmation-miscellaneous-scripts-for-magento-2.html)
- [HTML Minifier for Magento2](https://www.magepal.com/magento2/extensions/html-minifier.html)

© MagePal LLC. | [www.magepal.com](https://www.magepal.com)

###  Health Score

74

—

ExcellentBetter than 100% of packages

Maintenance86

Actively maintained with recent releases

Popularity62

Solid adoption and visibility

Community36

Small or concentrated contributor base

Maturity94

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 87.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~78 days

Recently: every ~68 days

Total

48

Last Release

67d ago

Major Versions

1.5.2 → 2.0.12018-01-20

2.9.3 → 3.0.02025-05-28

PHP version history (10 changes)1.0.3PHP ~5.5.0|~5.6.0|~7.0.0

1.2.0PHP ~5.6.0|7.0.2|~7.0.6

1.4.6PHP ~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0

2.5.6PHP ~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0|~7.1.3|~7.2.0

2.6.6PHP ~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0|~7.1.3|~7.2.0|~7.3.0

2.8.5PHP ~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0|~7.1.3|~7.2.0|~7.3.0|~7.4.0

2.9.0PHP ~7.4.0||~8.1.0

2.9.1PHP ~7.4.0||~8.1.0||~8.2.0

2.9.2PHP ~7.4.0|~8.1.0|~8.2.0|~8.3.0

3.0.0PHP ~8.2.0||~8.3.0||~8.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/79d4e037574dd962cebda0b1676dbf1bd9306a81a50e68329a07c6e952e7898d?d=identicon)[srenon](/maintainers/srenon)

![](https://www.gravatar.com/avatar/e926912bcbab02cddd5619f9c5eca81ddfeac0d5bbbee54134625b1f398f3ea6?d=identicon)[magepal](/maintainers/magepal)

---

Top Contributors

[![srenon](https://avatars.githubusercontent.com/u/1415141?v=4)](https://github.com/srenon "srenon (243 commits)")[![bangerkuwranger](https://avatars.githubusercontent.com/u/2318848?v=4)](https://github.com/bangerkuwranger "bangerkuwranger (4 commits)")[![avoelkl](https://avatars.githubusercontent.com/u/1798594?v=4)](https://github.com/avoelkl "avoelkl (4 commits)")[![hryvinskyi](https://avatars.githubusercontent.com/u/9294098?v=4)](https://github.com/hryvinskyi "hryvinskyi (3 commits)")[![kdckrs](https://avatars.githubusercontent.com/u/2227271?v=4)](https://github.com/kdckrs "kdckrs (3 commits)")[![leekung](https://avatars.githubusercontent.com/u/3615383?v=4)](https://github.com/leekung "leekung (3 commits)")[![bramstroker](https://avatars.githubusercontent.com/u/2345875?v=4)](https://github.com/bramstroker "bramstroker (2 commits)")[![sprankhub](https://avatars.githubusercontent.com/u/930199?v=4)](https://github.com/sprankhub "sprankhub (2 commits)")[![neddy236](https://avatars.githubusercontent.com/u/36985144?v=4)](https://github.com/neddy236 "neddy236 (1 commits)")[![PascalBrouwers](https://avatars.githubusercontent.com/u/17834386?v=4)](https://github.com/PascalBrouwers "PascalBrouwers (1 commits)")[![sergey-nechaev](https://avatars.githubusercontent.com/u/3796512?v=4)](https://github.com/sergey-nechaev "sergey-nechaev (1 commits)")[![vmalyk](https://avatars.githubusercontent.com/u/5318027?v=4)](https://github.com/vmalyk "vmalyk (1 commits)")[![allen-infante](https://avatars.githubusercontent.com/u/7900942?v=4)](https://github.com/allen-infante "allen-infante (1 commits)")[![Yonn-Trimoreau](https://avatars.githubusercontent.com/u/5746666?v=4)](https://github.com/Yonn-Trimoreau "Yonn-Trimoreau (1 commits)")[![Bodyanuk](https://avatars.githubusercontent.com/u/4107004?v=4)](https://github.com/Bodyanuk "Bodyanuk (1 commits)")[![danielkarso-pon](https://avatars.githubusercontent.com/u/115469301?v=4)](https://github.com/danielkarso-pon "danielkarso-pon (1 commits)")[![ihorvansach](https://avatars.githubusercontent.com/u/48525307?v=4)](https://github.com/ihorvansach "ihorvansach (1 commits)")[![JosephMaxwell](https://avatars.githubusercontent.com/u/1151186?v=4)](https://github.com/JosephMaxwell "JosephMaxwell (1 commits)")[![keevitaja](https://avatars.githubusercontent.com/u/158787?v=4)](https://github.com/keevitaja "keevitaja (1 commits)")[![maderlock](https://avatars.githubusercontent.com/u/630320?v=4)](https://github.com/maderlock "maderlock (1 commits)")

---

Tags

adobe-commerceamazonamazon-sescustom-smtpelastic-emailemailgmailgmail-smtpmagentomagento-2magento-smtp-extensionmagento2-extensionmailchimpmailgunmandrilloffice365sendgridsessmtptransactional-emailsmagento 2gmail smtpgoogle appAmazon Simple Email ServiceAmazon SESmagento2 smtpmagento2 emailmagento2 email setupsend email magento2g suitehow to configure magento emailhow to setup email magento2

### Embed Badge

![Health badge](/badges/magepal-magento2-gmailsmtpapp/health.svg)

```
[![Health](https://phpackages.com/badges/magepal-magento2-gmailsmtpapp/health.svg)](https://phpackages.com/packages/magepal-magento2-gmailsmtpapp)
```

###  Alternatives

[mageplaza/module-smtp

SMTP Extension for Magento 2 helps the owner of store simply install SMTP (Simple Mail Transfer Protocol) server which transmits the messages into codes or numbers

3015.9M8](/packages/mageplaza-module-smtp)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[magepal/magento2-edit-order-email

Magento 2 edit order email

34288.1k](/packages/magepal-magento2-edit-order-email)[magepal/magento2-customeraccountlinksmanager

Customer Account Links Manager for Magento2 allows you to quickly and easily remove unwanted links from customer account dashboard

4084.9k](/packages/magepal-magento2-customeraccountlinksmanager)[yireo/magento2-emailtester2

Preview transactional emails and test send them in your backend

33394.9k](/packages/yireo-magento2-emailtester2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
