• Hi, I am having a lot of troubles to connect my contact form 7 to my gmail.

    I followed your instructions step by step (https://wpforms.com/how-to-securely-send-wordpress-emails-using-gmail-smtp/) but I have this error message.

    Morover, I use WP Mail SMTP and contact form 7. After setting the smtp, what should I put in settings in my contact form 7?

    Thank you for your help

    Versions:
    WordPress: 4.9.2
    WordPress MS: No
    PHP: 7.0.27
    WP Mail SMTP: 1.2.4

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

    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”: “required”,
    “message”: “Login Required”,
    “locationType”: “header”,
    “location”: “Authorization”
    }
    ],
    “code”: 401,
    “message”: “Login Required”
    }
    }

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter worldfutureshift

    (@worldfutureshift)

    I managed to solve it, however, my contact form is still not working.
    Which setting should I have to put in my contact form 7? I understood that if mails wasn’t working throught contact form, by setting your plugin this will resolve the problems but I think I am missing something. Thank you in advance for your help.

    Plugin Author Slava Abakumov

    (@slaffik)

    The contact form plugin itself may be broken somehow. CF7 users reported problems several times already here on a forum.

    Try to use the same email address in this options:
    1) WP Mail SMTP setting: From email address.
    2) CF7 plugin for a form FROM email address setting.

    That may or may not help you, but worth a try.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Message error – settings problems’ is closed to new replies.