• Resolved morganwww

    (@morganwww)


    I’m trying to setup this plugin for a client to allow WP emails to go through his Gmail account.

    Currently, the server’s MX records are set to the external records provided by Gmail. I’m not sure if that makes a difference in how to setup the plugin. I thought that maybe with MX Records set to Gmail’s localhost would be equivalent to smtp.gmail.com?

    When I run a connectivity test for smtp.gmail.com, all ports show as closed: https://i.imgur.com/LPqfdGP.png

    In fact, any smtp host I test with the Connectivity Tester shows all ports closed, save for localhost.

    When I try and setup email the test email debugger outputs “Network is unreachable” for all hosts except localhost. When I try to use localhost, I get an authentication error.

    I’ve tried using all authentication types with no luck. I’ve also tried using no encryption and TLS (SSL is not enabled on this server).

    Can you provide any information that can help me get this working? According to NameCheap support, I cannot use the PHP mail() function due to the external MX Records.

    Thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Varun Sharma

    (@contact-banker)

    Hi,

    It looks most likely you are behind a firewall.

    Please ask your web host to check if the following ports are closed on your server due to a firewall?

    Once the ports are opened properly on your server, you would be able to connect to gmail.

    Thanks

    Support Team
    Tech Banker

    Thread Starter morganwww

    (@morganwww)

    Thanks for the response, and I will definitely contact the host to ask about the firewall.

    Just to clarify though, the ports are listed as open when attempting to connect to localhost (https://i.imgur.com/90kf8Jl.png) – is it the case that the firewall would be blocking access to these ports only in the event of trying to connect to an external smtp mail server?

    Thread Starter morganwww

    (@morganwww)

    Woops, looks like that last screenshot is broken – here’s a working one: https://i.imgur.com/fUGmHHk.png

    A few days ago the plugin stopped sending the emails.

    I made several attempts to reconfigure Gmail in the plugin, but none succeeded.

    In debugging, it only displays the message: Connection timed out

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t Setup Gmail SMTP Email’ is closed to new replies.