explore Cyber Weekend deals

SMTP Email Settings for Magento 2

Minimize the chance to get into spam with the reliable SMTP server configuration. Use 12+ preset reliable providers to improve reputation and make sure emails will be delivered.
  • Apply ready-made provider settings to decrease the rejection rate
  • Comply with Google standards with the OAuth 2.0 method for Google Accounts
  • Set your own configuration
  • View the content of sent emails
  • Test configuration using debug mode
  • Log all sent emails
  • Automatically clean logs
Product updates and support for 12 months

Updates and support prolongation - €85

more info

Updates and support prolongation - €275

more info

Pick a combo deal with 15% discount:

Save €94.05

Deliver your emails 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 notifications and marketing campaigns 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 sending hosting and decrease the rejection level.

What benefits do you get for your store

Avoid impact on reputation - put into service trusted email providers with a secured connection


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


Gain revenue - make your email marketing perform better

NEW: Utilize 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 access. As a result, email sending becomes much more complicated.

Amasty has a solution! Now the SMTP email extension for Magento 2 supports OAuth 2.0 protocol recommended by Google. Set up a secure Google connection and make sure your notifications will reach addressees.

12 preset SMTP providers

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

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

Don't know what to choose? See here.

Build an effective email dispatch strategy

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

Ensure secure mail transfer

The solution is designed to fulfill the requirement of any store - choose one of the predefined providers or set up your own secure mail transfer protocol. Configure Magento 2 SMTP authentication method, server address and port to make sure your correspondence will be delivered.

Safely test configuration

For e-commerce businesses, it’s unacceptable to risk a reputation and go live without thorough testing. Check the result with the built-in functionality for running the tests of Magento 2 SMTP setup to exclude any chance of affecting customer loyalty.


Use 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 such Magento 2 mail sending settings as a server address, a provider and others for each store separately.

See how to set multiple stores up here.

Track all activities with the Magento 2 SMTP module

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

  • Check the dates, subjects and recipients. You can see what, when and to whom the email was sent.
  • Segment recordings by statuses. Check the current statuses of the emails. Sort out successfully sent, pending or failed ones using filters or grid sort order.

  • View email content in one click. You can 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 which log records will be removed. If you don’t want to enable 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 the 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 delivery 

For increasing the chance of 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 data validation framework that detects notifications with 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 a sender and do not properly configure the SPF record, your emails are likely to end up in a spam folder. To reduce the possibility of being marked as “suspicious”, you may do the following (based on what you prefer to equip for sending):


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.


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 for dispatch, you’ll need to activate the specific SPF configuration for Google Apps. If you use the service only to receive emails while dispatching is processed by your own server, the Magento 2 SMTP 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 notifications. Click here to find out how exactly the Magento 2 SMTP configuration has to look like.

How to: everything you need to know about SMTP configuration cases


How to replace an email sender?

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

To replace the sender you need to perform 3 simple operations:

  • Find the SMTP Provider setting and select Other option in the dropdown.
  • Go to the Use another Email Sender setting and switch the value to Yes.
  • 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.

How to configure SMTP in Magento 2?

  • Install and enable Amasty SMTP Email Settings.
  • To start 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 address 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 template and sender for default emails.
  • Enable the double opt-in and allow guest subscription if needed.
  • Save the changes.


Why configure Magento 2 SMTP?

It is important to configure Magento 2 SMTP. A qualitative Simple Mail Transfer Protocol server is capable of dispatching a large volume of correspondence quickly, avoiding the ISP's restrictions. If you implement an external SMTP server, the security of messages and the percentage of their delivery to the inbox is greatly increased.

This tool helps 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 correspondence that won't be flagged as spam.

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 Magento 2 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?
Product updates for extensions purchased before Feb 1, 2022With the transition to product subscriptions, you will receive product updates for all extensions purchased before Feb 1, 2022 throughout the entire grace period — up to Aug 1, 2022. If you ...
Do you have the installation service?
Yes, you can use installation and configuration services that are available as the part of Pro and Premium add-ons for your product subscriptions.Please note that this installation service doesn’t include uninstallation. So, if you need to completely...
Can I request a free trial?
Amasty doesn’t provide any trials of Magento extensions. There's one exception: Amasty extensions are provided for testing or demo purposes to our official Platinum Partners as a part of the “access to Amasty extensions for testing purposes with Composer...
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 offers to its Customers a thirty (30) day money-back guarantee for the Software. In case the acquired extension didn’t meet your expectations, our support team is always ready to help you. Fees for support subscriptions and any services provided...
How can I receive a discount?
We are now working at a for our customers that is supposed to bring even greater benefits in the long term. While it’s not out yet, you can look through these Special Offers. New discounts and specials are added every month. To stay updated on the ...
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 the packages section, and click 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?
If you have an active support service subscription, it grants you access to support services for all products purchased before Feb,1 as long as your subscription is active. Alternatively, support services are only available as the part of a product ...
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 of Magento...
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!

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.3
Last Update: Mar 23, 2022
1.2.3 - Mar 23, 2022
  • Fix we eliminated the issue with authentication via G-Suite
1.2.2 - Mar 10, 2022
  • Compatibility now the extension is compatible with Magento 2.4.4
1.2.1 - Jan 03, 2022
  • Fix we fixed the error that occurred in saving the configuration for website scope
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 2.4.0
Last Update: Jul 04, 2018
2.4.0 - Jul 04, 2018
  • New ability to read/update/create rules via Magento API was added
  • New ability to read/update/create rules via Magento API was added
  • New ability to read/update/create rules via Magento API was added
  • New ability to use discount \"Each N-th Same Product Discount\" for each item in cart was added
  • New ability to use discount \"Each N-th Same Product Discount\" for each item in cart was added
  • New ability to use discount \"Each N-th Same Product Discount\" for each item in cart was added
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-2022 Amasty. All Rights Reserved.