Hello,
Unfortunately, I had to go through all the steps and I got a successfully linked my site to my gmail account. However, I am getting an error saying that I need to login. I can’t send a test account. I have attached a screenshot of the error. I hope that you can help me with this. The plugin was working properly before. Or should I just uninstall/delete the plugin and reinstall? I prefer not since it is a lot of work to set up the web application in my gmail account. So, can you please look at the error and let me now know how I can fix this? Actually, I cannot attach here but I copied and pasting it here:
“There was a problem while sending a test email. Related debugging output is shown below:
Versions:
WordPress: 4.9.5
WordPress MS: Yes
PHP: 5.6.36
WP Mail SMTP: 1.2.5
Params:
Mailer: gmail
Constants: No
Client ID/Secret: Yes
Auth Code: Yes
Access Token: No
Server:
OpenSSL: Yes
PHP.allow_url_fopen: No
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”
}
}
Thank you,
Janet