• Resolved workwellness

    (@workwellness)


    I’ve seen a 2 year old post describing the error message below. I am receiving the exact same error message now.

    EMAIL DELIVERY ERROR: the plugin WP Mail SMTP v2.1.1 logged this error during the last time it tried to send an email:
    There was a problem while retrieving Auth for gmail: Could not json decode the token
    Please review your WP Mail SMTP settings in plugin admin area. Consider running an email test after fixing it.

    I’ve cleared the cache but the error message is still there. I’ve tested my contact form and it successfully sent an email. So is the error message just an irritant rather than an indication of a problem? I can’t afford to be in doubt as any failed emails could mean a loss of business. Anyone able to help?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @workwellness,

    The error message generally appears when there’s a conflict on Google library due to the different versions of this library being loaded by WP Mail SMTP and other plugins. There’s a known conflict with Updraft Plus and Simple Calendar plugin. Could you please let me know if you have any of these plugins? We are looking for an enhancement to avoid such conflict in our future release.

    I hope this helps!

    Hello,

    I have a different error that I believe I have resolved however, like the original poster indicated, I cannot make the error message go away from the WordPress dashboard. There is no X to remove the message and I cant find any other way to make it go away without disabling all error messages from the plugin.

    Please advise on how to make the error message go away so I can be sure that I am getting appropriately notified of NEW error messages.

    Thank you and I hope you and your family are staying healthy and well!

    Best Regards,
    Tyler

    Hi Tyler,

    The email delivery errors should not be dismissed instead you should fix the email that is creating the error. If you’d like to, you can absolutely hide the email delivery errors from WP Mail SMTP > Settings > Misc. Here’s a screenshot for the option.

    In the meantime, could you please let me know if you have Updraft Plus or Simple Calendar plugin installed?

    Thanks!

    Hello Sanjeev,

    To be sure I have given all the needed information, here is a screenshot of the error message. https://prntscr.com/tfhrnh

    Mailer: Other SMTP
    You must provide at least one recipient email address

    I agree, 100%, that hiding all error messages is a bad idea. The thing is, I believe I have corrected the issue. There just doesn’t seem to be a way to clear the error message. My website appears to be sending emails just fine – I have done several tests etc. and all emails are coming through.

    If I didn’t correct the issue, then how do I proceed with troubleshooting the error? The error message itself isn’t very helpful.

    We are not using either of those plugins that you mentioned. The only plugins that I believe are sending emails would be WordPress itself, Contact Form 7, WooCommerce and Retainful Abandoned Carts. All of these use the WP Mail SMTP – Other SMTP Mailer – to connect to our email server.

    I did see that Retainful had attempted to send an email to a user, where the email address was just “George”. I can see that being the problem, so I cleared the email queue for that plugin and removed that users cart from it too. As far as I am aware, the problem should be resolved.

    I installed an email logging plugin yesterday so I can monitor this moving forward. As of today, all emails that were sent from my site appear to have been sent and are valid.

    I’m really not sure where to go from here and I cant find anything online that points me in the right direction. Hopefully you can help.

    Thank you in advance for taking the time to read all of this and for your help fixing my issue. It’s very much appreciated.

    Best Regards,
    Tyler

    Oh, I forgot to mention this. We recently upgraded our PHP to version 7.4. The next day, I started seeing this error.

    A few resources online suggested that PHP 7.4 has problems with sending emails. For that reason, I downgraded PHP to 7.3.

    Honestly, I dont think I’d be getting this error if emails failed due to a php issue. But I probably should have mentioned the PHP upgrade before.

    Hi @thademorrow,

    Thanks for the information. The error message indicates that your site is sending emails without or with invalid receipent’s address.

    I did see that Retainful had attempted to send an email to a user, where the email address was just “George”. I can see that being the problem, so I cleared the email queue for that plugin and removed that users cart from it too.

    This might have fixed the issue.

    PHP 7.4 is not an issue here as you’re able to send other emails. It is just that some emails are not configured correctly in your site. If you’re not aware of the plugin sending email without receipent, you might check deactivating the plugin one by one.

    I hope this helps!

    Hello Sanjeev,

    Unfortunately this error is still showing on my site. It has never gone away. I am going to try uninstalling and reinstalling WP Mail and see if that works.

    Despite all of my efforts, I cant seem to make this message go away. Hopefully this works. Ill update this thread if I have success. Hopefully it will be helpful for others who may have this issue.

    Thank you again for your help. I hope you and your family are staying healthy and well!

    Best Regards,
    Tyler

    Update:

    Uninstalling and then reinstalling WP Mail SMTP seems to have made the error go away. Ill wait and see if it comes back.

    Hi Tyler,

    I’m glad you sorted it out and thanks for taking time to let us know.

    Have a good one!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WP Mail SMTP issue’ is closed to new replies.