PHPackages                             magepal/magento2-custom-smtp - 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-custom-smtp

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

magepal/magento2-custom-smtp
============================

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

4.0.2(4mo ago)42.0k↓50%3proprietaryPHPPHP ~8.2.0||~8.3.0||~8.4.0CI failing

Since Apr 24Pushed 4mo ago1 watchersCompare

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

READMEChangelog (7)Dependencies (4)Versions (10)Used By (0)

[![](https://camo.githubusercontent.com/63f84edb93cd08708650d8e726d9e5a1634dbc2fb8758bd9b2b85a5cb39aa371/68747470733a2f2f696d6167652e6962622e636f2f6448426b59482f4d61676570616c5f6c6f676f2e706e67 "Magento Custom Modules")](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/54965fa441e740e465a141d9dc6c4194cfb66c6e61fbc5d498903bf0c897b22f/68747470733a2f2f706f7365722e6f6b76706e2e6f72672f6d61676570616c2f6d6167656e746f322d637573746f6d5f736d74702f646f776e6c6f616473)](https://www.magepal.com/magento2/extensions/custom-smtp.html)[![Latest Stable Version](https://camo.githubusercontent.com/3dd00159690b8ee5974916514bcd834f8495cb23f4ec887213ce857abe7d1259/68747470733a2f2f706f7365722e6f6b76706e2e6f72672f6d61676570616c2f6d6167656e746f322d637573746f6d5f736d74702f762f737461626c65)](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 2.0.x, 2.1.x, 2.2.x, 2.3.x and 2.4.x

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

The custom SMTP extension for Magento 2 is a software add-on that allows you to use an external SMTP (Simple Mail Transfer Protocol) server to send emails from your Magento 2 store. This extension provides more flexibility and control over the email delivery process, as well as improved deliverability and reliability compared to using the default email server. With this extension, you can specify custom SMTP settings such as the server host, port, username, password, and encryption method, as well as set up email templates and test email configurations. This extension is ideal for Magento 2 store owners who need to send emails to customers or other stakeholders, and want to ensure that their emails are delivered quickly, securely, and effectively.

Configure Magento 2 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.

### 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 Extension](https://www.magepal.com/help/docs/smtp-magento/?utm_source=smtp&utm_medium=github#installation)
- [How to setup Magento 2 SMTP Extension](https://www.magepal.com/help/docs/smtp-magento/?utm_source=smtp&utm_medium=github#configuration)
- [How to debugging Magento 2 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-custom-smtp

```

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 Magento](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

48

—

FairBetter than 94% of packages

Maintenance78

Regular maintenance activity

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~104 days

Recently: every ~58 days

Total

7

Last Release

121d ago

Major Versions

3.0.1 → 4.0.02025-05-29

PHP version history (3 changes)3.0.0PHP ~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

3.5.0PHP ~7.4.0|~8.1.0|~8.2.0|~8.3.0

4.0.0PHP ~8.2.0||~8.3.0||~8.4.0

### Community

Maintainers

![](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 (27 commits)")

---

Tags

magento-modulemagento2magento2-extensionmagento2-extension-freesmtpsmtp-clientmagento 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-custom-smtp/health.svg)

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

###  Alternatives

[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

3321.8M2](/packages/magepal-magento2-gmailsmtpapp)[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)

PHPackages © 2026

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