Title: GMail SMTP / API Issues
Last modified: February 11, 2019

---

# GMail SMTP / API Issues

 *  [Ryder](https://wordpress.org/support/users/hyflex/)
 * (@hyflex)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/gmail-smtp-api-issues/)
 * Hi,
 * I’ve tried setting this up but I am running into several issues…
 * Issue 1: Once I filled in the Client ID, Secret and decided to click Authorise…
   it sent me to a Google error page because the request did not include the client
   ID.
 * Fix 1: I manually copied the client ID into the query / request and then the 
   authorisation worked correctly.
 * Issue 2: The “Save” button is now missing on Settings page and the “Send” button
   is now missing on the email test page.
 * Issue 3: I am seeing the following error/notification:
 *     ```
       EMAIL DELIVERY ERROR: the plugin WP Mail SMTP v1.4.1 logged this error during the last time it tried to send an email:
   
       Mailer: Gmail
       {
        "error": {
         "errors": [
          {
           "domain": "global",
           "reason": "required",
           "message": "Login Required",
           "locationType": "header",
           "location": "Authorization"
          }
         ],
         "code": 401,
         "message": "Login Required"
        }
       }
       Consider running an email test after fixing it.
       ```
   
 * Issue 4: I do not see “Internal” within the OAuth consent screen…
 * If I use the outdated “Post SMTP” it works fine doing either the SMTP route or
   the the Gmail API route, with the same exact credentials…

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [the508seal](https://wordpress.org/support/users/the508seal/)
 * (@the508seal)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/gmail-smtp-api-issues/#post-11199379)
 * I setup an API to Gmail in 2 months ago. It was working great until sometime 
   in the last couple days. The API redirect URL goes to a blank page or an http
   500 error?
 * I tried resetting the connection to no avail.
 * this is the redirect URL
    [http://traditionsatriveroaks.net/wp-admin/options-general.php?page=wp-mail-smtp&tab=test](http://traditionsatriveroaks.net/wp-admin/options-general.php?page=wp-mail-smtp&tab=test)
 * the email test from the plugin does not send a mail either
 *  [Musarrof](https://wordpress.org/support/users/mmh4560/)
 * (@mmh4560)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/gmail-smtp-api-issues/#post-11203846)
 * Yes this plugin is not working for gmail configuration. API redirect URL goes
   to a error page. Now I have setup another plugin and working fine.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘GMail SMTP / API Issues’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

## Tags

 * [gmail api](https://wordpress.org/support/topic-tag/gmail-api/)

 * 2 replies
 * 3 participants
 * Last reply from: [Musarrof](https://wordpress.org/support/users/mmh4560/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/gmail-smtp-api-issues/#post-11203846)
 * Status: not resolved