How to use Gmail SMTP in WordPress for sending emails

May 29, 2024 / WordPress

This article explains how to use Gmail SMTP in WordPress for sending emails using the One-Click-Setup feature. It ensures reliable email deliverability, robust security, and easy integration with your existing Gmail account.

The One-Click-Setup feature in WP Mail SMTP Pro simplifies connecting your WordPress site to Google’s email service using the Gmail API.

  1. Install the WP Mail SMTP Pro Plugin
    1. First, ensure you have a WP Mail SMTP Pro license, as the One-Click-Setup feature is only available with this version. Upgrade your account if necessary.
      WP Mail SMTP
    2. Next, install the WP Mail SMTP plugin.
  2. Select Google / Gmail as Your Mailer
    1. Navigate to WP Mail SMTP » Settings and click on the General tab.
    2. Scroll down to the Primary Connection section and find the Mailer heading.
    3. Select the “Google / Gmail” option.
      Google / Gmail
    4. Ensure your site is set up with SSL (https).
    5. After selecting Google / Gmail, you will see additional authorization options. Toggle the One-Click Setup option to the ON position.
      One-Click Setup on
    6. Click the “Save Settings” button at the bottom of the page. The page will reload, enabling access to the authorization settings.
      save settings
  3. Authorize Your Google Account with WP Mail SMTP
    1. Once the page reloads, scroll to the Authentication section and click the Sign in with Google button.
      sign in with google
    2. You will be redirected to the Gmail login screen. Enter the details for the Gmail account you wish to use.
    3. Grant WP Mail SMTP authorization by clicking the Allow button.
    4. After authorization, you will be redirected back to the WP Mail SMTP settings page, where a success message will appear.
      WP Mail SMTP settings
    5. Scroll down to see the Gmail account you set up in the Authorization section.

That is it! You have successfully connected your Gmail account with WP Mail SMTP using the One-Click-Setup method. Hope you grasped everything well. However, if you still encounter any issues, get help from our support staff.


Dominos Search