mageplaza.com
Get 15% off Mageplaza extensions & subscriptions! Use code HIMAY at checkout.

How to configure SendGrid SMTP in Magento 2

Vinh Jacker | 11-23-2017

The Most Popular Extension Builder for Magento 2

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

Transaction email open rates can be up to three times higher than other similar methods, especially with application-base companies. To online shoppers, nothing they can expect but those transaction emails regarding event announcements, sale-off offers, new product updates. Consumers deserve better attention. It’s about time to learn how to configure SendGrid SMTP in Magento 2.

SendGrid has been built to serve developers and make it faster for companies to send emails regardless of their environment. It allows you to send email over SMTP or HTTP, or if you want, even use one of the company’s official client libraries. In a few minutes, your company can send your first email and more. STMP is the easiest method that any neophyte can configure himself effortlessly. All you need is to grab those below pieces of data to enter in the SMTP extension for Magento 2, to have the integration operation.

How to configure SendGrid SMTP in Magento 2

  • Step 1: Create a new SendGrid account
  • Step 2: Download and install Magento 2 SMTP extension
  • Step 3: Configure the SMTP extension for Magento 2

Step 1: Create a new SendGrid account

  • You can sign in to a new account at their official website, it’s always welcoming new customers obviously. Here is their website https://sendgrid.com/
  • This technical data is taken from their documentation, note them and you will use in the later steps. Change your SMTP username and password to your SendGrid credentials by:
    • Set the server hostname to smtp.sendgrid.net
    • Use ports 25 or 587 for plain/TLS connections and port 465 for SSL connections

SendGrid SMTP in Magento 2

Step 2. Download and install Magento 2 SMTP extension

This guide will use Magento 2 SMTP extension to configure this setup. It’s a free extension so there’s no risk to try out this new advanced module. You can download it in Github and the installation guide can be found at this Documentation.


SMTP

SMTP Extension for Magento 2

Prevent your emails for customers from going to the SPAM box

Check it out!


Step 3. Configure SMTP extension 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 SendGrid SMTP in Magento 2

Expand SMTP Configuration Option, complete these following steps

smtp configuration in Magento 2

  • Next to the Host field, click on the Load Settings button and choose Sendgrid.
  • In the Username and Password field, fill the SendGrid account’s information you just have set up in Step 1.
  • In Test Email Recipient, enter the email you want to sent to. A successful report will show up if thing worked properly.

And now you have done with the set up SMTP in Magento 2 with the SendGrid provider from Mageplaza! We hope this post helps you more experience. Please let us know when you have any questions for us!

Jacker

Hello, I'm the Chief Technology Officer of Mageplaza, and I am thrilled to share my story with you. My deep love and passion for technology have fueled my journey as a professional coder and an ultra-marathon runner. Over the past decade, I have accumulated extensive experience and honed my expertise in PHP development.



Related Post

Website Support & Maintenance Services

mageplaza services

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