Support » Plugin: WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin » There was a problem while sending the test email.

  • Resolved Jorihlen

    (@jorihlen)


    I have successfully configured SMTP to use the Google Cloud service. The project is owned and verified in various ways in GConsole and GAnalytics, but when sending the test I get an error message.

    Versions:
    WordPress: 5.4.2
    WordPress MS: No
    PHP: 7.1.33
    WP Mail SMTP: 2.2.1

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

    Server:
    OpenSSL: OpenSSL 1.0.2k 26 Jan 2017
    PHP.allow_url_fopen: Yes
    PHP.stream_socket_client(): Yes
    PHP.fsockopen(): Yes
    PHP.curl_version(): 7.62.0
    Apache.mod_security: No

    Debug:
    Mailer: Gmail
    {
    “error”: {
    “code”: 400,
    “message”: “Mail service not enabled”,
    “errors”: [
    {
    “message”: “Mail service not enabled”,
    “domain”: “global”,
    “reason”: “failedPrecondition”
    }
    ],
    “status”: “FAILED_PRECONDITION”
    }
    }

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @jorihlen,

    Thanks for reaching out. The error log indicates that your account do not have Gmail API enabled. Please follow this article and enable Gmail API.

    I hope this helps!

    Thread Starter Jorihlen

    (@jorihlen)

    Thank you very much for your reply, Sanjeev.
    I already considered that option (because the FAQ).
    But the problem persists.

    ScreenShot

    Hi @jorihlen,

    When you enable the Gmail API. Could you please reconnect your Google account by clicking on ‘Allow Plugin To Send Emails..’ button and let me know the error you’re getting? Please make sure the account you’re authorizing has the mailbox and has mail send permission.

    Thanks!

    Hi @jorihlen – We haven’t heard from you in about a week, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘There was a problem while sending the test email.’ is closed to new replies.