• Hello, I have set this up before lots of times, and followed the same steps as always, but email tests are failing and this is in the debug:

    Versions:
    WordPress: 4.9.9
    WordPress MS: No
    PHP: 7.2.13
    WP Mail SMTP: 1.4.1

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

    Server:
    OpenSSL: OpenSSL 1.0.2g 1 Mar 2016
    PHP.allow_url_fopen: Yes
    PHP.stream_socket_client(): Yes
    PHP.fsockopen(): Yes
    PHP.curl_version(): 7.47.0

    Debug:
    Mailer: Gmail
    {
    “error”: {
    “errors”: [
    {
    “domain”: “global”,
    “reason”: “failedPrecondition”,
    “message”: “Bad Request”
    }
    ],
    “code”: 400,
    “message”: “Bad Request”
    }
    }

    Any idea what could be causing?

    Any help would be greatly appreciated.

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

    (@slaffik)

    I don’t know. There are little related information around the web on this error. Perhaps, you did a migration from one domain to another, or something else make tokens not really valid.
    My best advice:
    1) reset the connection and try again.
    2) make sure the user, you are making a connection to, can actually send emails in your GSuite
    3) make sure that gmail API is enabled

Viewing 1 replies (of 1 total)

The topic ‘WP SMTP Fails’ is closed to new replies.