• Resolved ymer94

    (@ymer94)


    Hi!

    I have installed a number of SMTP plugins and the only one I got working at all was this using my private hotmail with standard login. Since this site is for a customer I can’t use that when it launches so I was trying to setup a GMail SMTP with OAuth authentication but I can’t get it to work. This is the debug log I get:

    
    Checking your settings
    Sending Test Email to <myEmail>@hotmail.com
    Email Status : Email Not Sent
    ----------------------------------------------------------------------------------------
    Debug Output :
    ----------------------------------------------------------------------------------------
    220 smtp.gmail.com ESMTP u84-v6sm3296978lfk.71 - gsmtp
    EHLO localhost
    250-smtp.gmail.com at your service, [78.69.246.159]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-CHUNKING
    250 SMTPUTF8
    AUTH XOAUTH2 dXNlcj15bWVyXzk0QGhvdG1haWwuY29tAWF1dGg9QmVhcmVyIHlhMjkuR2x1Z0JleG1RTXRSU1VYdDdFNzlheTZBci1xWDBhQ2ZjX3VXdkdTZTZpUVRLRTFJWmktMXVFbFJERlFSeFhRMm80N2RXWTB2MzlCMElGQ0dBM2pfSVV1b2pHVGhJQWYwd0JRd0Y2MnhROUNCVlV5R2Z3Ny1DM2RTSi1WSwEB
    334 eyJzdGF0dXMiOiI0MDAiLCJzY2hlbWVzIjoiQmVhcmVyIiwic2NvcGUiOiJodHRwczovL21haWwuZ29vZ2xlLmNvbS8ifQ==
    
    Your Web Host provider may have installed a firewall between you and the server. 
     Contact the admin of the server and ask if they allow outgoing communication on port 25,465,587. 
     It seems like they are blocking certain traffic. Ask them to open the ports.
    ----------------------------------------------------------------------------------------
    

    Using these settings:

    • Basic Info:
    • From Name Configuration: Don’t Override
    • From Email Configuerride: Don’t Override
    • Account Setup:
    • Email Address: <myEmail>@hotmail.com
    • Mailer Type: Send Email via SMTP
    • SMTP Host: smtp.gmail.com
    • Encryption: SSL
    • SMTP Port: 465
    • Authentication: OAuth (Client Id and Secret Key required)
    • Client Id (Get Google Client Id and Secret Key): <ID>.apps.googleusercontent.com
    • Secret Key: <Key>
    • Redirect URI: http://tgs.serveftp.com:8080/wp-admin/admin-ajax.php

    I only have the basic version so those are the settings I can use. Also worth mentioning is that its a Bitnami WAMP stack server on my personal computer with ports 25, 433, 465 & 587 open. My GMail API settings are:

    • OAuth consent screen:
    • Email Address: <myEmail>@hotmail.com
    • Product name shown to users: Test Mail
    • Client ID for Web Application:

    Hope this is enough debug information for you to use in helping me with this configuration.

    Note: The tagged (<>) names are stand ins for actual strings but I don’t want to give them out publicly to everybody reading this post. If you by any chance would need to know them I can send that information via email if you ask in the comments. Also <myEmail> is the same address in all occurrences.

    • This topic was modified 6 years ago by ymer94. Reason: Fogot a clarification
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Configuring GMail SMTP’ is closed to new replies.