reggie21
Forum Replies Created
-
Hi – We have verified that the email address in plugin settings is the same as the one we used to create a Google App in Console with Gmail API to get Client ID/Secret.
Also – if we press the orange save settings button in the WP Mail SMTP plugin settings the “Allow plugin to send emails using your Google account” button becomes active again as if our setting are lost and did not save.
Here is the error message when we do a test:
Versions:
WordPress: 4.9.1
WordPress MS: No
PHP: 5.6.31
WP Mail SMTP: 1.2.2Params:
Mailer: gmail
Constants: No
Client ID/Secret: Yes
Auth Code: No
Access Token: NoServer:
OpenSSL: Yes
PHP.allow_url_fopen: Yes
PHP.stream_socket_client(): Yes
PHP.fsockopen(): Yes
PHP.curl_version(): YesDebug:
Error while sending via Gmail mailer: {
“error”: {
“errors”: [
{
“domain”: “global”,
“reason”: “required”,
“message”: “Login Required”,
“locationType”: “header”,
“location”: “Authorization”
}
],
“code”: 401,
“message”: “Login Required”
}
}I am having the exact same issue. I have recreated Client ID and Client secret twice and no luck. Still getting error messages:
There was a problem while sending a test email. Related debugging output is shown below:
Versions:
WordPress: 4.9.1
WordPress MS: No
PHP: 5.6.31
WP Mail SMTP: 1.2.2Params:
Mailer: gmail
Constants: No
Client ID/Secret: Yes
Auth Code: No
Access Token: NoServer:
OpenSSL: Yes
PHP.allow_url_fopen: Yes
PHP.stream_socket_client(): Yes
PHP.fsockopen(): Yes
PHP.curl_version(): YesDebug:
Error while sending via Gmail mailer: {
“error”: {
“errors”: [
{
“domain”: “global”,
“reason”: “required”,
“message”: “Login Required”,
“locationType”: “header”,
“location”: “Authorization”
}
],
“code”: 401,
“message”: “Login Required”
}
}- This reply was modified 6 years, 10 months ago by reggie21.
I made sure of that.
Im getting this error now after authorizing:
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”
}
}Thanks for the short answer ??