Cookies setting

Cookies help us enhance your experience on our site by storing information about your preferences and interactions. You can customize your cookie settings by choosing which cookies to allow. Please note that disabling certain cookies might impact the functionality and features of our services, such as personalized content and suggestions. Cookie Policy

Cookie Policy
Essential cookies

These cookies are strictly necessary for the site to work and may not be disabled.

Information
Always enabled
Advertising cookies

Advertising cookies deliver ads relevant to your interests, limit ad frequency, and measure ad effectiveness.

Information
Analytics cookies

Analytics cookies collect information and report website usage statistics without personally identifying individual visitors to Google.

Information
mageplaza.com

Configure Gmail SMTP in Magento 2

Summer Nguyen | 3 days ago

Configure Gmail SMTP in Magento 2 Configure Gmail SMTP in Magento 2

The Most Popular Extension Builder for Magento 2

With a big catalog of 224+ extensions for your online store

We will give you simple instruction How to set up Gmail SMTP service for Magento 2 It’s time to say farewell to procrastination in sending email, we know it’s hurt that the default SMTP mode can not quite manage to set all the things in its right place, fact brings the truth that tons of sending mail was sent straightly to the… spam box, not customer’s inbox

The guide is pretty simple and everyone, no matter you’re a newbie or veteran, can accomplish it easily and quickly. This guide will use Mageplaza SMTP extension to configure this setup. It’s free extension so there’s no risk to try out these new advanced modules. You can download Magento 2 SMTP in Github and the installation guide can be found at this Documentation.

OVERVIEW

Step 1: Create and set up Gmail Account

Step 2: Setup Gmail SMTP for Magento 2

Be sure you’ve installed SMTP for Magento 2 by Mageplaza successfully. Here we go

STEP 1. Create and setup Gmail account

  • Login to your Gmail account, go to My account > Sign-in&Security > Connected Apps and Sites Be sure Allow less secure apps is ON.

gmailsecurity

  • In the Setting page, make some minor changes on Forwarding and POP/IMAP. Basically we will turn POP/IMAP on at this step
    • In POP Download, with 1. Status choose Enable POP for all email
    • In MAP Access, choose enable IMAP
    • Click Save changes at the bottom

POP/IMAP

STEP 2. Setup Gmail SMTP for Magento 2

  • Back to Magento Admin, make your way from Mageplaza > SMTP > Configuration. Expand General Configuration, choose Yes to turn Mageplaza SMTP on

general

  • Expand SMTP Configuration Option, complete these following steps

SMTPconfigurationoption

  • In the SMTP Provider field, choose Gmail (choose other if you’re using it)
  • Click Auto Fill button to fill Host, Port, Authentication and Protocol will be automatically filled up to match Gmail provider you had chosen.
  • In the Username and Password field, fill the gmail account you just have setup in the mentioned STEP 1.
  • In Test Email Recipient, enter the email you want to sent to. A successful report will show up if thing worked properly.

testrecipient

Step 3: Test SMTP

And now we will come to the final step, which is to test your SMTP configuration. You need to open the “Send Test Email” area and set these options:

Send To: Pick a name for who’s sending the email. You have 5 choices like “Owner” or “Customer Support.” It won’t change the actual email address you set earlier, just the name people see.

Send from: Enter the email address of the recipient

After selecting, you will be able to see this:

Test SMTP

If you look in the recipient’s inbox, the test email should look like this:

Test SMTP - email

And now you have done with the set up SMTP in Magento 2 with Gmail provider!

Related Post

Table of content
    Summer

    A data-driven marketing leader with over 10 years of experience in the ecommerce industry. Summer leverages her deep understanding of customer behavior and market trends to develop strategic marketing campaigns that drive brand awareness, customer acquisition, and ultimately, sales growth for our company.



    Related Post

    Website Support
    & Maintenance Services

    Make sure your store is not only in good shape but also thriving with a professional team yet at an affordable price.

    Get Started
    mageplaza services