SMTP Email Settings for Magento 2

Minimize the chance to get into spam with the reliable SMTP server configuration. Use 12+ preset providers to make sure emails will be delivered.
  • Use ready-made provider settings to decrease email rejection
  • Comply with Google standarts with the OAuth 2.0 method for Google Accounts
  • Set your own configuration
  • View the content of sent emails
  • Test your emails using debug mode
  • Log all sent emails
  • Automatically clean logs
60 days money back
Free lifetime updates
90 days free support

Trigger email without getting into spam: get the pack with 10% off

Save $57.70

Deliver Your E-mails Successfully

🚩  Challenge

The default Magento settings use the installation server to send emails. But the reputation of such emails is low, and in most cases, they are marked as untrustworthy. As a result, your emails end up in a spam folder, and you waste a lot of time trying to get out.


Magento 2 SMTP Email extension is a tool that includes the configuration of reliable SMTP servers. The main goal of the module is to help you deliver emails successfully, e.g. connect your store to Gmail to implement the most popular email sending hosting and decrease the rejection level.

NEW: Use OAuth 2.0 Protocol to Comply with Google Standards

Since 2020, Google forbids less secure apps. It means that if your connection is not secure enough, Google won't let you get the access. As a result, email sending becomes much more complicated.

Amasty has a solution! Now SMTP extension supports OAuth 2.0 protocol recommended by Google. Set up a secure Google connection and make sure your emails will reach addressees.

What benefits do you get for your store

Avoid impact on reputation - use trusted email providers with a secured connection


Grow customer base - deliver emails without being marked as a spam


Gain revenue - make your email marketing perform better

How to perform Gmail SMTP setting in Magento 2?

  • Install and enable the SMTP Email Settings plugin;
  • Go to Stores  Configuration  SMTP Email Settings SMTP Configuration;
  • In the SMTP Provider field, choose Gmail;
  • Enter Server Address, Port, and choose Authentication Method;
  • In the Connection Security field, select the needed security protocol;
  • Enter where to Send Test E-mail and save the changes.

Control the sending of all emails

Deliver all emails of any types successfully. Magento 2 Email Settings handles all the emails that are sent out from your store (welcome, emails, newsletter, order confirmations, invoices, etc).

12 preset SMTP providers

Set your own Magento 2 custom SMTP server configuration or use one of the following preset providers:

  • Gmail
  • Hotmail
  • AOL Mail
  • Yahoo
  • Comcast
  • O2 Mail
  • Office365
  • Orange
  • Outlook
  • GMX
  • Zoho

Don't know what to choose? See here.

How to replace an email sender?

Email sender replacing is used to avoid overflowing. Customers will not see the email you usually use as the email sender will be changed. This feature is available in case you have your own SMTP server.

To replace an email sender you need to perform 3 simple operations:

  • Step 1:Find the SMTP Provider setting and select Other option in the dropdown.
  • Step 2:Go to the Use another Email Sender setting and switch the value to Yes.
  • Step 3:Fill in the Sender Email and the Sender Name options with the necessary data. Here you can provide a real email or set a non-existing one.

Debug mode and log of all errors

Debug mode emulates the work of Magento 2 email SMTP server without sending out any emails. If any errors occur you will see them in the log and make fixes without reconsidering all the settings. Clear the log manually or automatically after a certain period of time.

Specify settings for multiple websites and store views

If you manage multiple Magento stores from one backend, it’ll be quite useful for you to specify Magento 2 mail sending settings as a server address, a provider and others for each store separately.

If you you need, see how to set multiple stores up here.

Log All Emails with Magento 2 SMTP Extension

  • Take control over all sent emails. Magento 2 SMTP module registers and logs all emails that are sent from your store. Apply multiple filters to find the specific ones.

  • Easily check emails dates, subjects and recipients. You can see what, when and to whom the email was sent.
  • See relevant email statuses on the grid. Check the current status of the email. Sort out successfully sent, pending or failed emails using filters or grid sort order.

  • View email content in one click. You can easily preview the frontend layout of any email right in the grid.

To avoid manual log clearing, you may enable an automatic clearing option. To apply it, just set a particular number of days after with log records will be removed. If you don’t want to use the option, just set the number of days to zero.

NEW: Efficiently manage cron tasks

Manage all existing cron tasks on a Cron Tasks List grid from admin panel. Run cron tasks and generate their schedule by clicking the ‘Run Cron’ button. Delete tasks in bulk, use filtering and sorting options when it is needed.

Advanced Options for Successful Email Delivery

For increasing the chance of email delivery, the extension allows you to apply even more enhanced technologies, and SPF Record is one of them. SPF (or Sender Policy Framework) is a special email data validation framework that detects the emails with the fake sender addresses and identifies them as spam. The challenge is to avoid these rejections, and the Magento 2 SMTP module setup can help.

Even though SPF configuration is optional, keep in mind that if you replace an email sender and do not properly configure the SPF record, your emails are likely to end up in a spam folder. To reduce the possibility for your emails of being marked as “suspicious”, you may do the following (based on what you prefer to use for email sending):

1. Configure SPF record for your own SMTP server

You may set the Magento 2 configuration for your own email server using your domain. The extension supports both IPv4 and IPv6 addresses. All you need to do is to specify the necessary domain and addresses in the SPF record. Moreover, you can forbid the receiving of emails that are not specified in your record. Check the details of the configuration here.

2. Adjust SPF record for Google Apps

It is also possible to set the same record for Google Apps services, but it will have particular differences. In case you use this service to send emails, you’ll need to activate the specific SPF configuration for Google Apps. If you use the service only to receive emails while sending is processed by your own server, the settings will have some peculiar properties as well. And, of course, you can configure the record even though you use Google Apps for both receiving and sending your emails. Click here to find out how exactly the Magento 2 SMTP configuration has to look like.

According to the statistics, the extension can cover each business need in synergy with the following solution: magento 2 refund.

How to Configure SMTP in Magento 2?

  • Install and enable Amasty SMTP Email Settings.
  • To start email configuration, navigate to Magento Stores > Configuration > SMTP Email Settings and open the SMTP Configuration section.
  • In the SMTP Provider, choose one of the pre-defined providers and click Autofill.
  • Enter your Login, Password, and email for testing purposes.
  • Then click, Save and Check Connection.
  • Save the configurations.

How to Configure Email Settings in Magento 2?

  • Log in to the admin panel and go to Stores > Settings > Configuration.
  • In the Customers tab, choose the Newsletter option.
  • Open the Subscription Options section.
  • Choose the email template and sender for default emails.
  • Enable the double opt-in and allow guest subscription if needed.
  • Save the changes.

Magento email extension is a tool to increase the likelihood of email delivery as the extension allows even more advanced technologies such as SPF Record. What's more, it allows you to increase your store's customer base by delivering emails that won't be flagged as spam.

Why configure Magento 2 SMTP?

It is important to configure Magento 2 SMTP. A quality SMTP server is capable of sending a large volume of emails quickly, avoiding the ISP's restrictions. If you use an external SMTP server, the security of email messages and the percentage of their delivery to the inbox is greatly increased.

How to protect your Halloween promotions newsletters from getting into spam?

Before sending newsletters with Halloween promotions info, you need to configure Magento 2 SMTP to prevent emails from getting into the spam folder. With our extension, you can choose between 12 SMTP providers or make custom configurations if needed.

Adobe partner logo
Magento Marketplace logo
See 216+ verified reviews
1 Single points of sales
Trusted by Customers
Are Amasty extensions compatible with all themes and extensions by other vendors?
Amasty extensions work with all plugins we issued and with most 3rd-party plugins. If you come across a compatibility issue with any third-party module, we’ll definitely try to help you. If you face any technical issues, please create a ticket...
Will I get free support and updates?
Yes, once you buy any extension(s) by Amasty, you’ll get free lifetime updates for the product(s).Also, you will get 3 months of a free trial for support subscription. Magento support subscription plans:Monthly Annual -20% Lite.twhhkw2-s{text-align:...
Do you have the installation service?
Yes, we provide a professional installation service. You can purchase it when ordering an extension. If you buy more than 1 extension in one order, we can install all of them! If you need to configure plugins according to your business needs, you can...
Can I request a free trial?
Amasty doesn’t provide any trials of Magento extensions. But we have three months of free support and a 60-day money-back guarantee. There's one exception: Amasty extensions are provided for testing or demo purposes to our official Platinum Partners...
Can I test an Amasty extension on a staging site before transferring it to a live one?
Yes, you can install any Amasty extension on a test site and configure all the settings there before doing it on your live store.
How can I get a refund?
Amasty provides a 60-day money-back guarantee. In case the acquired extension didn’t meet your expectations, our support team is always ready to help you.  To get a full or partial refund of your order, please create a ticket in our support...
How can I receive a discount?
According to the rules of Amasty's Reward Program, you get $15 back to your reward points for every $100 spent. You can spend them to buy other extensions or services from our catalog. These Points are valid for 60 days from the purchase date. You ...
How to update a Magento 2 Amasty extension?
To update a Magento 2 extension by manual upload: 1. log in to the customer account; 2. navigate to the Products tab, scroll to thePackages section, andclick the Download link next to the extension that should be updated; 3. Important: If some extension...
If I need additional features to be added to an Amasty extension, how can I ask for it?
To leave your feature request, log in to your customer account and open the Products tab. Then, scroll down to the bottom of the page, and leave your feature request in the following form: As soon as you send your request, it is considered by our ...
Magento 2 Amasty extensions installation
Each Amasty extension package is provided with the extension files, installation & setup guides, and a license agreement. Some extensions include import files examples as well. So how to install our Magento extension? What is the plugin...
How can I prolong support?
When you get any support subscription plan, it will be prolonged automatically. Also, you can cancel your subscription at any time. For this, go to your customer account and open the Subscriptions tab.
What should I do if my Reward Points have expired?
According to our reward program, the Reward Points are valid for 60 days starting from the moment they’re transferred to your account. But we always try to stay supportive, so you can create a ticket, and we’ll consider your case individually...
How can I use my Reward Points?
How to check your reward points balance? Step 1. Log in to your customer account or create a new one. After this, you will be redirected to your account dashboard. Step 2. In the left menu choose Reward points. Step 3. You will see your current reward...
Can I change the EE extension to CE for free?
Usually, no, you can’t exchange modules. Please, contact our support managers and they’ll consider your case individually. → Learn more about our special offers
How can I get a discount to re-purchase plugins?
Usually, we don’t provide any discounts. But you can contact us, and we’ll consider your case individually. → Learn more about our special offers
What is the license policy? On how many websites can I use Amasty extensions?
Our license allows you to use a single extension license agreement on one Magento installation. If you run several domains on the same instance of Magento, you can use one extension license. However, if you run each website on a new installation...
How can I pay for Amasty extensions?
You can pay for our extensions in any convenient for you way as a full range of payment methods are supported. The most common means are credit card or PayPal. Security and fraud protection are guaranteed. If you need to pay for the order with a non...
I'm getting AUTHORIZATION FAILED 534 5.7.14 error in the debug log but my credentials is 100% correct. What should I do?

The extension can't use mail server to send anything due to mismatching login credentials. If you are sure provided credentials are 100% correct please proceed with READ the Full answer link.

I'm getting connection refused or connection timed out error in debug log. What should I check?

If you're connecting from behind the firewall, make sure the firewall rules allow you to connect the specified mail server. 

What should I do if emails are not being sent out via Amasty SMTP extension?

Having troubles with sending emails? Try disabling the extension in main module configuration page and check if you're getting the same result with Magento default PHP sendmail. Please proceed to READ the Full answer link to get further instructions.

Customer Reviews

Are you looking to add specific functionality for this extension or want to acquire a reliable development partner altogether? With custom development services by Amasty, you will receive high quality and cost-effective solutions developed by Magento professionals according to industry’s best practices.

Request a Quote

Submit this form now and we will get back to you promptly!

What feature your extension lacks?

You can always download the recent version free of charge from your account installing an upgrade is easy

See Magento (and other software) versions we support and guarantee their compatibility with our extensions

Version 1.2.0
Last Update: Feb 03, 2021
1.2.0 - Feb 03, 2021
  • New we added new authentication methods OAuth 2.0 for Google Accounts to comply with Google standards for secure apps
Version 1.1.14
Last Update: Dec 11, 2020
1.1.14 - Dec 11, 2020
  • Fix we fixed the issue with getting sender data for test emails
1.1.13 - Jul 28, 2020
  • Compatibility the compatibility with Magento 2.4 was added
1.1.12 - Apr 09, 2020
  • Fix we fixed the issue with sending a test email
  • Fix we fixed getting of configuration data by store ID
  • Fix we fixed getting of current store during cron job
1.1.11 - Dec 17, 2019
  • Fix we solved the problem with emails sending in Magento 2.2.?
  • Fix we solved the problem with incorrect email headers with utf-8 chars
1.1.10 - Dec 04, 2019
  • Improvement we reviewed and enhanced the code
  • Fix we solved the problem with order placing from admin
  • Fix we solved the problem with sending email using Amazon SES SMTP
  • Fix we solved the problem with incorrect email text in email logs
1.1.9 - Oct 30, 2019
  • Fix we solved the problem with sending of emails that contained umlaut and other utf-8 symbols in the body.
  • Fix we solved the problem with emails sending in Magento 2.3.3
  • Fix we fixed a search problem on the Sent Emails Log page.
1.1.8 - Sep 19, 2019
  • Improvement we reviewed and enhanced the code
1.1.7 - Jul 29, 2019
  • Improvement we added the possibility to use symbols like "ö", "ä", etc for the sender name
  • Fix we fixed the issue with the ' Save and Check Connection' action
  • Fix we fixed the issue with sending emails from the default config sender
1.1.6 - Jun 13, 2019
  • Fix the issue with the website scope on the 'Save and Check Connection' action was resolved
1.1.5 - Apr 09, 2019
  • Fix the issue when using the default sender email and configuration instead of the ones from the Store VIew configuration was resolved
1.1.4 - Mar 27, 2019
  • New the ability to manage all existing cron tasks on a Cron Tasks List grid in backend was added. Run cron tasks and generate their schedule by clicking the ‘Run Cron’ button. Also, delete tasks in bulk, use filtering and sorting options when it is needed
1.1.3 - Jan 15, 2019
  • Fix smtp setting issues related to scopes were fixed.
  • Fix Magento 2.3 compatibility issue was resolved.
1.1.2 - Oct 22, 2018
  • Improvement now, you can see the full list of recipients in the history of sent emails
1.1.1 - Aug 01, 2018
  • Compatibility the compatibility with Magento 2.2.5 was improved
  • Fix the issue with sending emails from the admin panel was resolved
1.1.0 - Jul 04, 2018
  • New the ability to replace email sender was added
  • Improvement the code was enhanced
Version 1.0.4
Last Update: Sep 19, 2017
1.0.4 - Sep 19, 2017
  • Magento 2.2 compatibility improved
1.0.3 - Aug 30, 2017
  • Magento 2.2 compatibility introduced
1.0.2 - Apr 12, 2017
  • Compatibility improvements
1.0.1 - Jun 16, 2016
  • Use specific store settings when creating order or sending order e-mail from the backend

Ratings & Reviews

97% of 100
© 2009-2021 Amasty. All Rights Reserved.