• Resolved mosborn7449

    (@mosborn7449)


    Any suggestions for a solution to this error?

    Versions:
    WordPress: 4.9.6
    WordPress MS: No
    PHP: 5.6.30
    WP Mail SMTP: 1.2.5

    Params:
    Mailer: gmail
    Constants: No
    Client ID/Secret: Yes
    Auth Code: Yes
    Access Token: Yes

    Server:
    OpenSSL: Yes
    PHP.allow_url_fopen: Yes
    PHP.stream_socket_client(): Yes
    PHP.fsockopen(): Yes
    PHP.curl_version(): Yes

    Debug:
    Error while sending via Gmail mailer: {
    “error”: {
    “errors”: [
    {
    “domain”: “global”,
    “reason”: “failedPrecondition”,
    “message”: “Mail service not enabled”
    }
    ],
    “code”: 400,
    “message”: “Mail service not enabled”
    }
    }

Viewing 1 replies (of 1 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    Hey,

    Several possible reasons:
    1) Your trial period could have expired (if you use one). Check your status at admin.google.com
    2) There is no email address that you use in FROM field created in your G Suite. So just create one.
    3) Your email address is not a Gmail account. It is possible to be a Google Account but not a Gmail account (for example if you use the account for YouTube but have never enabled Gmail).
    4) You may need to enable the Gmail feature or Gmail API access in your G Suite.

Viewing 1 replies (of 1 total)
  • The topic ‘400 error “failedPrecondition”’ is closed to new replies.