• Resolved reggie21

    (@reggie21)


    Using gmail for configuration on InMotion economy server. Any ideas are appreciated.

    Error log:

    Versions:
    WordPress: 4.9.1
    WordPress MS: No
    PHP: 5.6.31
    WP Mail SMTP: 1.2.2

    Params:
    Mailer: mail
    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

    • This topic was modified 6 years, 10 months ago by reggie21.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    @reggie21

    Currently, I see that you are using Mailer: mail. Please make sure that the Gmail mailer is active. Have you clicked the “Allow…” button?

    Thread Starter reggie21

    (@reggie21)

    I made sure of that.

    Im getting this error now after authorizing:

    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”
    }
    }

    Plugin Author Slava Abakumov

    (@slaffik)

    Your FROM email address in plugin settings should be the same as the one you have used to create a Google App in Console with Gmail API to get Client ID/Secret.

    Thread Starter reggie21

    (@reggie21)

    Hi – We have verified that the email address in plugin settings is the same as the one we used to create a Google App in Console with Gmail API to get Client ID/Secret.

    Also – if we press the orange save settings button in the WP Mail SMTP plugin settings the “Allow plugin to send emails using your Google account” button becomes active again as if our setting are lost and did not save.

    Here is the error message when we do a test:

    Versions:
    WordPress: 4.9.1
    WordPress MS: No
    PHP: 5.6.31
    WP Mail SMTP: 1.2.2

    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”
    }
    }

    Plugin Author Slava Abakumov

    (@slaffik)

    @reggie21

    This issues was fixed in 1.2.3 (we won’t reset connection to Google after Save Changes was clicked, so Allow won’t appear everytime you save settings in a plugin).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Email not arriving’ is closed to new replies.