Title: Issue detected
Last modified: January 20, 2020

---

# Issue detected

 *  Resolved [jv360](https://wordpress.org/support/users/jv360/)
 * (@jv360)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/issue-detected/)
 * I’m not receiving emails from the site and the test email isn’t working. Any 
   suggestions much appreciated.
 * Here is the Error Log:
 * Versions:
    WordPress: 5.3.2 WordPress MS: No PHP: 5.6.40 WP Mail SMTP: 1.8.1
 * Params:
    Mailer: gmail Constants: No Client ID/Secret: Yes Auth Code: Yes Access
   Token: Yes
 * Server:
    OpenSSL: OpenSSL 1.0.2q 20 Nov 2018 PHP.allow_url_fopen: Yes PHP.stream_socket_client():
   Yes PHP.fsockopen(): Yes PHP.curl_version(): 7.59.0
 * Debug:
    Mailer: Gmail { “error”: “invalid_grant”, “error_description”: “Bad Request”}
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fissue-detected%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/issue-detected/#post-12352119)
 * Hi [@jv360](https://wordpress.org/support/users/jv360/),
 * The Invalid Grant error usually indicates that there are permission issues due
   to the Secret Key (and all tokens that were generated using that key) being invalidated.
   This could happen when the Gmail password is changed or when 2FA is enabled.
 * To resolve this you’ll need to regenerate tokens by going to the console.developers.
   google.com > Credentials page. Click on the Edit screen for your credentials 
   and Reset Secret after that. Here’s the button you need to click: [http://take.ms/2EQIn](http://take.ms/2EQIn)
 * Alternatively, you can go through all the steps in our setup [tutorial](https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-wp-mail-smtp/)
   again.
 * I hope this helps!
 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/issue-detected/#post-12392365)
 * Hi [@jv360](https://wordpress.org/support/users/jv360/) – We haven’t heard from
   you in about a week, so I’m going to go ahead and mark this ticket resolved. 
   If you still have questions, though, please feel welcome to continue the conversation.
 *  Thread Starter [jv360](https://wordpress.org/support/users/jv360/)
 * (@jv360)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/issue-detected/#post-12405416)
 * Hi Sanjeev
 * I couldn’t resolve the issue using Gmail so I set up a Sendgrid account instead
   and that is working well,
 * Thanks for your help and yes, all resolved now.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Issue detected’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [jv360](https://wordpress.org/support/users/jv360/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/issue-detected/#post-12405416)
 * Status: resolved