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.5.0 2023-03-16 18:51 UTC

This package is auto-updated.

Last update: 2023-11-16 20:23:29 UTC



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 2.0.x, 2.1.x, 2.2.x, 2.3.x and 2.4.x

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

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.

Magento SMTP Email Extension

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.

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.


  • 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.


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
  • Your Company SMTP Server
  • and many other SMTP servers

How to Install Magento SMTP Extension

Using Composer (recommended)
composer require magepal/magento2-custom-smtp


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


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 and if we like your idea we will add this feature for free or at a discounted rate.

Magento 2 Extensions

© MagePal LLC. |