Replies: 1
All is set correctly and the SMTP Status is green (connected). But I’m unable to send an email. I made this on one of my other website and it’s going well… but not for this one 🙁
Any idea?
Here is the log of the error:
PHP Fatal error: Uncaught Google_Auth_Exception: Error refreshing the OAuth2 token, message: ‘{
“error” : “invalid_request”,
“error_description” : “Missing required parameter: refresh_token”
}’ in D:\Websites\br9732.com\wp-content\plugins\gmail-smtp\google-api-php-client\src\Google\Auth\OAuth2.php:363
Stack trace:
#0 D:\Websites\br9732.com\wp-content\plugins\gmail-smtp\google-api-php-client\src\Google\Auth\OAuth2.php(276): Google_Auth_OAuth2->refreshTokenRequest(Array)
#1 D:\Websites\br9732.com\wp-content\plugins\gmail-smtp\google-api-php-client\src\Google\Client.php(457): Google_Auth_OAuth2->refreshToken(NULL)
#2 D:\Websites\br9732.com\wp-content\plugins\gmail-smtp\class.phpmaileroauthgoogle.php(142): Google_Client->refreshToken(NULL)
#3 D:\Websites\br9732.com\wp-content\plugins\gmail-smtp\PHPMailer\class.smtp.php(471): GmailXOAuth2->getOauth64()
#4 D:\Websites\br9732.com\wp-content\plugins\gmail-smtp\class.phpmaileroauth.php(152): SMTP->authenticate(”, ”, ‘XOAUTH2’, ”, ”, Object(GmailXOAuth2))
#5 D:\Websites\br9732. in D:\Websites\br9732.com\wp-content\plugins\gmail-smtp\google-api-php-client\src\Google\Auth\OAuth2.php on line 363