WPIntell

Source evidence

YaySMTP can not work

YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service · support · 2025-09-16T18:31:00+00:00

mixedsentiment
mediumseverity
0.85relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 32 rows with source links

15.6% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

27 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
katherine1234 resolved
Works for years but suddenly can not work, check the Google Console everything is good. Sample Error like this: SYSTEM ERROR: 400 : { “error”: “invalid_grant”, “error_description”: “Token has been expired or revoked.” } /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Http/REST.php(128) #0 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Http/REST.php(103): Google\Http\REST::decodeHttpResponse(Object(GuzzleHttp\Psr7\Response), Object(GuzzleHttp\Psr7\Request), ‘Google_Service_…’) #1 [internal function]: Google\Http\REST::doExecute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), ‘Google_Service_…’) #2 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Task/Runner.php(181): call_user_func_array(Array, Array) #3 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Http/REST.php(66): Google\Task\Runner->run() #4 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Client.php(893): Google\Http\REST::execute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), ‘Google_Service_…’, Array, NULL) #5 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Service/Resource.php(238): Google\Client->execute(Object(GuzzleHttp\Psr7\Request), ‘Google_Service_…’) #6 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/Users.php(40): Google\Service\Resource->call(‘getProfile’, Array, ‘Google_Service_…’) #7 /var/www/html/wp-content/plugins/yaysmtp/includes/Controller/GmailController.php(36): Google_Service_Gmail_Resource_Users->getProfile(‘me’) #8 /var/www/html/wp-content/plugins/yaysmtp/includes/PhpMailerExtends.php(126): YaySMTP\Controller\GmailController->send() #9 /var/www/html/wp-includes/pluggable.php(547): YaySMTP\PhpMailerExtends->send() #10 /var/www/html/wp-content/plugins/yaysmtp/includes/Functions.php(250): wp_mail(Array, ‘\xE2\x9C\x85 Your test e…’, ‘\n \n How…’, Array) #11 /var/www/html/wp-includes/class-wp-hook.php(324): YaySMTP\Functions->sendTestMail(”) #12 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #13 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #14 /var/www/html/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_yaysmtp…’) #15 {main}Send Email Oops! Your email can’t be sent. What happened? This error might be caused by: – Incorrect SMTP settings or Mailer configuration – Connection blocked by your web server – Connection rejected by your host (many shared hosts block certain ports) What to do next? – Double check all configuration and settings – Try another mailer – Ask your hosting provider to enable your external connections Can’t figure it out? Please contact us to ask for help. We’ll get back to you ASAP.Debug Versions: WordPress: 6.8.2 WordPress MS: No PHP: 8.2.27 YaySMTP: 2.6.9 Params: Mailer: gmail Debug: undefined This topic was modified 8 months, 3 weeks ago by Steven Stern (sterndata) . Reason: formatting The page I need help with: [ log in to see the link] Hi @katherine1234 , I think for some reason, the token for the Google account you associated has expired. You need to reconnect it, and here is the guide on how to do that: https://docs.yaycommerce.com/yaysmtp/how-to-set-up-smtps/how-to-connect-gmail Hope that suffices. Regards. We have this communication in the chatbox on your website, and same problem occured. YSTEM ERROR: 400 : { "error": "invalid_grant", "error_description": "Token has been expired or revoked." } /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Http/REST.php(128) #0 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Http/REST.php(103): Google\Http\REST::decodeHttpResponse(Object(GuzzleHttp\Psr7\Response), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...') #1 [internal function]: Google\Http\REST::doExecute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...') #2 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Task/Runner.php(181): call_user_func_array(Array, Array) #3 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Http/REST.php(66): Google\Task\Runner->run() #4 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Client.php(893): Google\Http\REST::execute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...', Array, NULL) #5 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Service/Resource.php(238): Google\Client->execute(Object(GuzzleHttp\Psr7\Request), 'Google_Service_...') #6 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/Users.php(40): Google\Service\Resource->call('getProfile', Array, 'Google_Service_...') #7 /var/www/html/wp-content/plugins/yaysmtp/includes/Controller/GmailController.php(36): Google_Service_Gmail_Resource_Users->getProfile('me') #8 /var/www/html/wp-content/plugins/yaysmtp/includes/PhpMailerExtends.php(126): YaySMTP\Controller\GmailController->send() #9 /var/www/html/wp-includes/pluggable.php(547): YaySMTP\PhpMailerExtends->send() #10 /var/www/html/wp-content/plugins/yaysmtp/includes/Functions.php(250): wp_mail(Array, '\xE2\x9C\x85 Your test e...', '\n \n How...', Array) #11 /var/www/html/wp-includes/class-wp-hook.php(324): YaySMTP\Functions->sendTestMail('') #12 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #13 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #14 /var/www/html/wp-admin/admin-ajax.php(192): do_action('wp_ajax_yaysmtp...') #15 {main}Send Email Oops! Your email can't be sent. What happened? This error might be caused by: - Incorrect SMTP settings or Mailer configuration - Connection blocked by your web server - Connection rejected by your host (many shared hosts block certain ports) What to do next? - Double check all configuration and settings - Try another mailer - Ask your hosting provider to enable your external connections Can't figure it out? Please contact us to ask for help. We'll get back to you ASAP.Debug Versions: WordPress: 6.8.2 WordPress MS: No PHP: 8.2.27 YaySMTP: 2.6.9 Params: Mailer: gmail Debug: undefined Hi @katherine1234 , Ok, please let us focus on the chat for a better experience. Thank you. Hi @katherine1234 , Good day! As provided error log, perhaps the token has been expired or revoked, please remove Authorization and connect it again. This will solve your issue. If you need any further help, please do not hesitate to contact us. Thank you! Mia

Comments

4 shown
Bruce 2025-09-16T18:39:00+00:00

Hi @katherine1234 , I think for some reason, the token for the Google account you associated has expired. You need to reconnect it, and here is the guide on how to do that: https://docs.yaycommerce.com/yaysmtp/how-to-set-up-smtps/how-to-connect-gmail Hope that suffices. Regards.

katherine1234 2025-09-16T19:45:00+00:00

We have this communication in the chatbox on your website, and same problem occured. YSTEM ERROR: 400 : { "error": "invalid_grant", "error_description": "Token has been expired or revoked." } /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Http/REST.php(128) #0 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Http/REST.php(103): Google\Http\REST::decodeHttpResponse(Object(GuzzleHttp\Psr7\Response), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...') #1 [internal function]: Google\Http\REST::doExecute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...') #2 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Task/Runner.php(181): call_user_func_array(Array, Array) #3 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Http/REST.php(66): Google\Task\Runner->run() #4 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Client.php(893): Google\Http\REST::execute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...', Array, NULL) #5 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient/src/Service/Resource.php(238): Google\Client->execute(Object(GuzzleHttp\Psr7\Request), 'Google_Service_...') #6 /var/www/html/wp-content/plugins/yaysmtp/vendor/google/apiclient-services/src/Google/Service/Gmail/Resource/Users.php(40): Google\Service\Resource->call('getProfile', Array, 'Google_Service_...') #7 /var/www/html/wp-content/plugins/yaysmtp/includes/Controller/GmailController.php(36): Google_Service_Gmail_Resource_Users->getProfile('me') #8 /var/www/html/wp-content/plugins/yaysmtp/includes/PhpMailerExtends.php(126): YaySMTP\Controller\GmailController->send() #9 /var/www/html/wp-includes/pluggable.php(547): YaySMTP\PhpMailerExtends->send() #10 /var/www/html/wp-content/plugins/yaysmtp/includes/Functions.php(250): wp_mail(Array, '\xE2\x9C\x85 Your test e...', '\n \n How...', Array) #11 /var/www/html/wp-includes/class-wp-hook.php(324): YaySMTP\Functions->sendTestMail('') #12 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #13 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #14 /var/www/html/wp-admin/admin-ajax.php(192): do_action('wp_ajax_yaysmtp...') #15 {main}Send Email Oops! Your email can't be sent. What happened? This error might be caused by: - Incorrect SMTP settings or Mailer configuration - Connection blocked by your web server - Connection rejected by your host (many shared hosts block certain ports) What to do next? - Double check all configuration and settings - Try another mailer - Ask your hosting provider to enable your external connections Can't figure it out? Please contact us to ask for help. We'll get back to you ASAP.Debug Versions: WordPress: 6.8.2 WordPress MS: No PHP: 8.2.27 YaySMTP: 2.6.9 Params: Mailer: gmail Debug: undefined

Bruce 2025-09-16T19:50:00+00:00

Hi @katherine1234 , Ok, please let us focus on the chat for a better experience. Thank you.

mialewp 2025-09-17T01:25:00+00:00

Hi @katherine1234 , Good day! As provided error log, perhaps the token has been expired or revoked, please remove Authorization and connect it again. This will solve your issue. If you need any further help, please do not hesitate to contact us. Thank you! Mia