Gmail Configuration
How To Set Up
Gmail Configuration

How to configure Gmail to send with Magento 2

Enable less secure apps to access accounts

Google Tag Manager

  1. using a noreply@companyName or web@companyName email address.
  2. Go to your Google Account.
  3. On the left navigation panel, click Security.
  4. On the bottom of the page, in the Less secure app access panel, click Turn on access.

Gmail SMTP Magento 2

Log into your Magento Store and add the configuration

  1. Connect to smtp.gmail.com on port 465, if you’re using SSL. (Connect on port 587 if you’re using TLS.)
  2. Sign in with a Google username and password for authentication to connect with SSL or TLS.
  3. Ensure that the username you use has cleared the CAPTCHA word verification test that appears when you first sign in.
Gmail, OAuth2 and “Allow less secure apps”

As of December 2014, in order to better secure customer’s email account Google has implemented new authentication mechanism called XOAUTH2 based on OAuth2 specification for access to their various services, including Gmail. This change can break both SMTP and IMAP access to Gmail or G-suite, and you may receive various authentication failures (“5.7.14 Please log in via your web browser and then try again” or “Username and Password not accepted”) while testing your configuration from our extension. Included in the error message is a link to https://support.google.com/mail/bin/answer.py?answer=78754, which provide a list of possible causes, or https://support.google.com/mail/?p=BadCredentials, which for the most part does not provide enough information. Currently our smtp extension does not support OAuth2 which would take a lot more time to setup.

Related

Related Extensions

Get more from your Magento2 store!

Catalog Hover Image for Magento

Quickly previewing alternative product images on your category list page.

Magento Enhanced E-commerce

If your are using Magento + Google Analytics, then you need Enhanced E-commerce for Google Tag Manager.

HTML Minifier for Magento2

Minification is the process of removing all unnecessary characters and spacing from your source code without changing its functionality.