Error After Testing Email
-
I have been struggling to find a way to make email work on a locally hosted WordPress site. I set everything up here as per the instructions and sent out a test email which ultimately failed. I tried to send it out again, but instead of getting an error message about authentication (which is what I saw the first time) I received this:
Fatal error: Uncaught exception 'Google_Auth_Exception' with message 'Error refreshing the OAuth2 token, message: '{ "error" : "invalid_request", "error_description" : "Missing required parameter: refresh_token" }'' in /volume1/web/wordpress/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Auth/OAuth2.php:363 Stack trace: #0 /volume1/web/wordpress/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Auth/OAuth2.php(278): Google_Auth_OAuth2->refreshTokenRequest(Array) #1 /volume1/web/wordpress/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php(457): Google_Auth_OAuth2->refreshToken(NULL) #2 /volume1/web/wordpress/wp-content/plugins/gmail-smtp/class.phpmaileroauthgoogle.php(142): Google_Client->refreshToken(NULL) #3 /volume1/web/wordpress/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php(446): GmailXOAuth2->getOauth64() #4 /volume1/web/wordpress/wp-content/plugins/gmail-smtp/class.phpmaileroauth.php(153): SMTP->authenticate('', '', 'XOAUTH2', '', '', Object(GmailXOAuth in /volume1/web/wordpress/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Auth/OAuth2.php on line 363
Do you have any idea why? I’ve tried the form multiple times but every time it ends in this fatal error ??
- The topic ‘Error After Testing Email’ is closed to new replies.