• After “Allow plugin to send emails using your Google account” button it says “There was an error while processing the authentication request. Please try again.”
    I’ve done it three times through following “How to Securely Send WordPress Emails Using Gmail SMTP with WP Mail SMTP” tutorial and always same error.

    I also did this already: https://support.google.com/accounts/answer/6010255?hl=en (“Let less secure apps access your account” if the link is not allowed here)

    What is going on?

Viewing 9 replies - 1 through 9 (of 9 total)
  • I am experiencing the exact same problem–hoping for some assistance ASAP.

    Thanks

    I have det samme problem. I do suspect it being related to my SSL / Https. I am using this plugin on other sites without problems. But on my current it does not connect to my gmail account.

    Versions:
    WordPress: 4.9.8
    WordPress MS: No
    PHP: 5.5.9-1ubuntu4.25
    WP Mail SMTP: 1.3.3

    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:
    Mailer: Gmail
    {
    “error”: {
    “errors”: [
    {
    “domain”: “global”,
    “reason”: “required”,
    “message”: “Login Required”,
    “locationType”: “header”,
    “location”: “Authorization”
    }
    ],
    “code”: 401,
    “message”: “Login Required”
    }
    }

    Plugin Author Slava Abakumov

    (@slaffik)

    This error means WP Mail SMTP can’t receive auth code needed, or that the scope doesn’t match what was initially sent to Google. Scope looks like an URL (with https:// part) – and incoming requests to a server with an URL inside the GET param may be blocked by some server firewalls.

    Do you have mod_security installed? Please provide a Test Email output (it will fail, but I need debug info).

    Plugin Author Slava Abakumov

    (@slaffik)

    Communicate with your hosting provider regarding any kind of firewalls that might block/modify incoming requests with URLs inside the GET param.

    Thread Starter otso

    (@otso)

    EMAIL DELIVERY ERROR: WP Mail SMTP plugin 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”
    }
    }

    Please review your WP Mail SMTP settings in plugin admin area. Consider running an email test after fixing it.

    Thread Starter otso

    (@otso)

    Did anyone else received security warning from Google today? Something like Google hasn’t approved this service.

    Thread Starter otso

    (@otso)

    Form on my previous site has stopped sending messages to Gmail

    Thank you for responding so fast.

    I have talked with our hosting provider and they have looked into it. It does not seem to be server related.

    I still have an susspect of it being SSL related.

    Hi guys, I just tried it again and it worked for some reason–I didn’t try anything new; I just logged in and clicked the “Allow plugin to send emails using your Google account” button and it worked.

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

The topic ‘There was an error while processing the authentication request. Please try again’ is closed to new replies.