• Here is the error code the instruction say to paste here.

    I’ve gone through the complete process of setting up google smtp,verifying domain, getting secret, etc.

    I appreciate your help with this…

    Versions:
    WordPress: 4.9.6
    WordPress MS: No
    PHP: 7.1.18
    WP Mail SMTP: 1.2.5

    Params:
    Mailer: gmail
    Constants: No
    Client ID/Secret: Yes
    Auth Code: Yes
    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”
    }
    }
    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 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Jim

    (@jfkindc)

    More info to help…

    I tried something I read in the forums but it didn’t work. I clicked the orange button and got a message that I had successfully allowed google to send emails on my behalf. Then i went directly to the send test email. Same error.

    Thread Starter Jim

    (@jfkindc)

    I kept reading and saw that the return email has to match the gmail account. I changed it to the correct gmail but still got the error.

    Site is hosted on siteground with growbig plan. contact form 7 sends to [email protected] which forwards to the [email protected].

    This is the hosting setup I usually recommend to new clients and I’ve successfully used your plugin a dozen times with the exact same setup.

    Thread Starter Jim

    (@jfkindc)

    uhm, the orange button doesn’t go away after linking site to google. Is it supposed to?

    When I clicked the orange button I got an alert from google which I pasted below.

    This app isn’t verified
    This app hasn’t been verified by Google yet. Only proceed if you know and trust the developer.

    If you’re the developer, submit a verification request to remove this screen. Learn more

    Advanced

    Plugin Author Slava Abakumov

    (@slaffik)

    Orange Allow.. button after successful action should be gone. If it’s there – then there is an error somewhere. Your auth was not completed as stated by the Gmail API error text.

    Click on the Advanced link on the consent screen and proceed further. Different Google account may have Less secure apps allowed, some are not – that might be the reason.

    Thread Starter Jim

    (@jfkindc)

    I guess I didn’t do a good job describing my steps.

    I have the Client ID & Key.

    I click the orange button which says “Allow plugin to send emails using your Google account”

    I get red caution sign and message that says:

    “This app isn’t verified

    This app hasn’t been verified by Google yet. Only proceed if you know and trust the developer.

    If you’re the developer, submit a verification request to remove this screen. Learn more

    Advanced”

    I clicked Advanced. I clicked “Go to domain.com. (unsafe)”

    I clicked blue button “Allow”

    When I return to WP Mail SMTP screen I see message at top with green border that says, “You have successfully linked the current site with your Google API project. Now you can start sending emails through Google.”

    Orange button is still there.

    I have done this for sites many times using different gmail accounts and have never seen the google screen with the red caution symbol before.

    Error says the DEVELOPER should “submit a verification request to remove it.”

    I also checked several of the sites where its worked and I successfully used “[email protected]” email in the “From email” field and gmail account to connect to google.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Test mail fails’ is closed to new replies.