• Resolved kkarl

    (@kkarl)


    Hi. I’m using the Lite WP Forms SMTP Sender plugin along with the WP Forms Pro version.

    I followed the following link and all the steps under Option 2 Manual to successfully set up the Google/Gmail mailer. I got everything setup but getting a Error 400 Precondition Check Failed Error when trying to send Test emails or get the notification email from the form to send. I double checked the Google API and Client ID and Client Secret to make sure no white spaces.

    I see in the FAQs “Contact your web hosting provider and ask them to verify your server can make outside connections. Additionally, ask them if a firewall or security policy may be preventing the connection” so if that is possibly be it.

    The following is the Error log I’m getting if you could provide any insight. One point I did want to mention is I’m using a non-Gmail email address I set up through this link “For Myself” version NOT a paid Google Workspace. Not sure if that is an issue either. Thank you.

    Versions:
    WordPress: 6.6.2
    WordPress MS: No
    PHP: 8.2.18
    WP Mail SMTP: 4.2.0

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

    Server:
    OpenSSL: OpenSSL 1.1.1w 11 Sep 2023
    PHP.allow_url_fopen: Yes
    PHP.stream_socket_client(): Yes
    PHP.fsockopen(): Yes
    PHP.curl_version(): 8.7.1
    Apache.mod_security: No

    Debug:
    Email Source: WP Mail SMTP
    Mailer: Google / Gmail
    {
    "error": {
    "code": 400,
    "message": "Precondition check failed.",
    "errors": [
    {
    "message": "Precondition check failed.",
    "domain": "global",
    "reason": "failedPrecondition"
    }
    ],
    "status": "FAILED_PRECONDITION"
    }
    }

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @kkarl,

    Thanks for reaching out! You can use a free Gmail email address to configure the Google Workspace / Gmail mailer on your site.

    It’s possible that your email address is not a Gmail account. You might have a Google Account that is not a Gmail account (for example, if you use the account for YouTube but have never enabled Gmail).

    Also, you can try disconnecting the account from WP Mail SMTP by clicking the “Remove Connection” button and then reconnecting it.

    If you have a different Google account, try re-configuring it using that email address.

    I hope this helps. Thanks!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.