Title: error Send a Test Email
Last modified: December 25, 2021

---

# error Send a Test Email

 *  Resolved [Khaled Yahya](https://wordpress.org/support/users/khaled0y/)
 * (@khaled0y)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-send-a-test-email/)
 * i have this error
 *     ```
       Versions:
       WordPress: 5.8.2
       WordPress MS: No
       PHP: 8.0.0
       WP Mail SMTP: 3.2.1
   
       Params:
       Mailer: gmail
       Constants: No
       Client ID/Secret: Yes
       Auth Code: Yes
       Access Token: Yes
   
       Server:
       OpenSSL: OpenSSL 1.1.1h 22 Sep 2020
       PHP.allow_url_fopen: Yes
       PHP.stream_socket_client(): Yes
       PHP.fsockopen(): Yes
       PHP.curl_version(): 7.73.0
       Apache.mod_security: No
   
       Debug:
       Email Source: WP Mail SMTP
       Mailer: Google / Gmail
       {
       "error": {
       "code": 403,
       "message": "Gmail API has not been used in project 1063000566209 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/gmail.googleapis.com/overview?project=1063000566209 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
       "errors": [
       {
       "message": "Gmail API has not been used in project 1063000566209 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/gmail.googleapis.com/overview?project=1063000566209 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
       "domain": "usageLimits",
       "reason": "accessNotConfigured",
       "extendedHelp": "https://console.developers.google.com"
       }
       ],
       "status": "PERMISSION_DENIED",
       "details": [
       {
       "@type": "type.googleapis.com/google.rpc.Help",
       "links": [
       {
       "description": "Google developers console API activation",
       "url": "https://console.developers.google.com/apis/api/gmail.googleapis.com/overview?project=1063000566209"
       }
       ]
       },
       {
       "@type": "type.googleapis.com/google.rpc.ErrorInfo",
       "reason": "SERVICE_DISABLED",
       "domain": "googleapis.com",
       "metadata": {
       "service": "gmail.googleapis.com",
       "consumer": "projects/1063000566209"
       }
       }
       ]
       }
       }
       ```
   

Viewing 1 replies (of 1 total)

 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-send-a-test-email/#post-15198356)
 * Hi [@khaled0y](https://wordpress.org/support/users/khaled0y/),
 * Thanks for reaching out. The error log:
 * > Gmail API has not been used in project 1063000566209 before or it is disabled.
   > Enable it by visiting [https://console.developers.google.com/apis/api/gmail.googleapis.com/overview?project=1063000566209](https://console.developers.google.com/apis/api/gmail.googleapis.com/overview?project=1063000566209)
   > then retry. If you enabled this API recently, wait a few minutes for the action
   > to propagate to our systems and retry.
 * It indicates that Gmail API isn’t enabled for your App in the Google console.
   You can visit [the link](https://console.developers.google.com/apis/api/gmail.googleapis.com/overview?project=1063000566209)
   and enable it to fix the issue.
 * I hope this helps!

Viewing 1 replies (of 1 total)

The topic ‘error Send a Test Email’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/error-send-a-test-email/#post-15198356)
 * Status: resolved