If you are a Magento store owner/ developer, we guess that you have already known about the Simple Mail Transfer Protocol (SMTP) and how it works.
Simple Mail Transfer Protocol (SMTP) is an Internet standard for electronic e-mail transmission.
In this tutorial, we will show you 3 simple steps to configure the default SMTP mode on Magento 2 backend. Let’s get started!
Summary Of SMTP Configuration Process
- Step 1: Set up an email account for your website domain
- Step 2: Set up the email sending system for your store
- Step 3: Set up sender and template for sales emails
Step 1: Set up an email account for your website domain
To begin with, in order to set up the SMTP email for Magento 2, it’s compulsory to have a valid email address for the store domain. You can easily create an email address by following the instructions of either the email hosting provider or the server administrator.
Step 2: Set up email sending system for your stores
Firstly, open your admin panel, navigate to STORES and select Configuration (under Settings).
Secondly, expand the GENERAL tab on the left menu and click on Store Email Addresses. Then, expand the first General Contact section.
Thirdly, you must enter the Sender Name, which will appear as the sender in all of your newsletter emails.
Fourthly, you have to enter the Sender Email – the email address that you have created on the first step of the process.
Finally, save the config.
It’s worth noting that you can add more contact for the Sales Representative, Customer Support, Custom Email 1, and Custom Email 2 by repeating the above steps.
Step 3: Set up sender and template for sales emails
In this step, you must expand the SALES tab and choose the Sales Emails part. After that, expand the Order section.
After that, what you need to do is enabling the sales emails, select an email sender (among your added contacts on the second step) for the new order confirmation email.
Also, you have to set specific templates for the new order confirmation email (for logged in users) and the new order configuration email (for guest).
Further setup related to email copy is optional.
Remember to save your settings.
We have shown you some simple steps to set up SMTP email in Magento 2. If you have any problems when following the guide, leave a comment below.