Replies: 0
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"
}
}
]
}
}