• Resolved salo400

    (@salo400)


    Hi there…

    I keep getting this error 401 with my Gmail setup.
    – No other SMTP or email plugs installed
    – All credentials are correct

    If i revoke the authorisation it works fine for a day or so and then shows this error again.

    Do you guys know what is the common reason for this?

    Cheers!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @salo400,

    When you get a chance, could you please let me know if you don’t have an error while sending a test email? It might be an issue with generating an access token after you authorize Google to send emails. Please make sure everything is okay (Client ID/ Secret) with the app you created, or redo all the steps again following the tutorial.

    I hope that helps!

    Hi @salo400 – We haven’t heard from you in about a week, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.

    Thread Starter salo400

    (@salo400)

    Hi… sorry about the delay.. No the test email works fine! and the whole system works great when it works but every day one time it will give me this error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘EMAIL DELIVERY ERROR: code 401’ is closed to new replies.