Replies: 0
Hi,
I’ve set up the plugin to use Gmail API and all was working fine.
Until I realized that I am using a wrong email address and wrong API connector.
I’ve repeated the whole procedure again:
– created new API project in google
– collected new credentials
– changed email address and added new credentials to the plugin
From now on it doesn’t work and I get the error message below.
With this action there is no way I can get ‘authorize email’ button again.. might this be an issue? Or can it be 2-factor in my gmail?
Versions:
WordPress: 4.9.6
WordPress MS: No
PHP: 7.1.10-1+0~20170929170631.9+jessie~1.gbp501135
WP Mail SMTP: 1.2.5
Params:
Mailer: gmail
Constants: No
Client ID/Secret: Yes
Auth Code: Yes
Access Token: Yes
Server:
OpenSSL: Yes
PHP.allow_url_fopen: Yes
PHP.stream_socket_client(): Yes
PHP.fsockopen(): Yes
PHP.curl_version(): Yes
Apache.mod_security: No
Debug:
Error while sending via Gmail mailer: {
“error”: {
“errors”: [
{
“domain”: “global”,
“reason”: “authError”,
“message”: “Invalid Credentials”,
“locationType”: “header”,
“location”: “Authorization”
}
],
“code”: 401,
“message”: “Invalid Credentials”
}
}