• Resolved lainey

    (@navitas)


    Hi, we were using the plugin without issue using SMTP and gmail settings. The plugin has updated and stopped working. I can now see that there are gmail settings specifically to add. We have added the key and ID but get the following. Also when we authorise using the reply URL the page returns to a 403 error even though it’s entered into the Google API. Any help os appreciated.

    There was a problem while sending a test email. Related debugging output is shown below:

    Versions:
    WordPress: 4.9.1
    WordPress MS: No
    PHP: 7.0.25
    WP Mail SMTP: 1.2.2

    Params:
    Mailer: gmail
    Constants: No
    Client ID/Secret: Yes
    Auth Code: No
    Access Token: No

    Server:
    OpenSSL: Yes
    PHP.allow_url_fopen: Yes
    PHP.stream_socket_client(): Yes
    PHP.fsockopen(): Yes
    PHP.curl_version(): Yes

    Debug:
    Error while sending via Gmail mailer: {
    “error”: {
    “errors”: [
    {
    “domain”: “global”,
    “reason”: “required”,
    “message”: “Login Required”,
    “locationType”: “header”,
    “location”: “Authorization”
    }
    ],
    “code”: 401,
    “message”: “Login Required”
    }
    }

Viewing 6 replies - 1 through 6 (of 6 total)
  • I am having a similar problem, would appreciate any advice

    Versions:
    WordPress: 4.9.1
    WordPress MS: No
    PHP: 7.0.21
    WP Mail SMTP: 1.2.2

    Params:
    Mailer: gmail
    Constants: No
    Client ID/Secret: Yes
    Auth Code: No
    Access Token: No

    Server:
    OpenSSL: Yes
    PHP.allow_url_fopen: Yes
    PHP.stream_socket_client(): Yes
    PHP.fsockopen(): Yes
    PHP.curl_version(): Yes

    Debug:
    Error while sending via Gmail mailer: { “error”: { “errors”: [ { “domain”: “global”, “reason”: “required”, “message”: “Login Required”, “locationType”: “header”, “location”: “Authorization” } ], “code”: 401, “message”: “Login Required” } }

    Thread Starter lainey

    (@navitas)

    We couldn’t get it working, swapped to another plugin and it worked straight away no issues.

    Which plugin did you use if you dont mind me asking?

    Thread Starter lainey

    (@navitas)

    It was called GMAIL SMTP – I can post a link if you can’t find it.

    Sorted, thanks for your help Lorraine

    Plugin Author Slava Abakumov

    (@slaffik)

    Regarding the “Login Required” error:

    Your FROM email address in plugin settings should be the same as the one you have used to create a Google App in Console with Gmail API to get Client ID/Secret.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Gmail stopped working – settings issue’ is closed to new replies.