Support » Plugin: Easy WP SMTP » SMTP connect() failed

  • Resolved nathaningram


    Hi… I’ve triple verified that my login info is correct and tried a couple of different gmail addresses to be sure. I cannot get the plugin to connect.

    Strangely, I’ve had the same issue with the WP SMTP plugin. Same kind of connection error.

    Is there something at the server level that could be preventing this plugin from working?

Viewing 15 replies - 1 through 15 (of 32 total)
  • MarximusMG


    I just installed this plugin and am having the same issue. I’ve checked over and over again to make sure the SMTP details are correct, but getting the same message:

    SMTP connect() failed

    I’m using an email set up through nsMail (Network Solutions) hosted through AWS EC2.



    Turns out, for me, port 587 was blocked on my VPS. I had the host open it and everything works fine.



    Hmm… I just tried adding an inbound custom TCP rule for port 587 in my EC2 instance security group rules, but still no luck. Anyone else having this issue?



    I just tried changing encryption to “None”, and it works. Is this a potential issue, not having it SSL encrypted?

    I am having this same issue using gmail. Triple checked the login information.

    I tried changing encryption to none too but no joy. I tried many, many settings, all without success.

    I have the same issue. Any solution?

    What I did.
    Deleted the SMTP plugins.

    I created an email account (a forward) with the same domain for every websites contact / form / newsletter. That way the email comes from the domain and doesn’t get blocked even using php mail function.

    I’m getting the same error.

    In case my findings help solve the problem here’s what I know.

    – I’ve tried all possible configurations within the plugin itself.
    – It’s most likely NOT my server because I’ve used the plugin successfully with my hosted mail account (which uses the same port, if it makes any difference)
    – I’ve tried it with multiple gmail accounts, all have the same issue.
    – I enabled ‘Less Secure Apps’ in gmail in case contemporary gmail security wasn’t allowing the plugin to connect.. no dice.

    Looking forward to someone smarter than me figuring it out!

    Note to person smarter than me.. please post your resolve if you find one.

    Having same problem with Hotmail… anyone?

    Yes, the emails go to spam folder in hotmails.

    gmail say:

    Application/device sign-in attempt (prevented)

    I cannot get this to work for nothing. Add in valid credentials and this is what i get. SMTP connect() failed. SMDH

    follow the steps in the link , you will get it solved

    I had to do this (from Google): “If you’re still having problems, visit and sign in with your Gmail username and password. If necessary, enter the letters in the distorted picture.” Then immediately initiate a connection.

    More info in this article.

    But first, I also had to “allow less secure apps to access your account”. From Google: “Your mail app might not support the latest security standards. Learn how to allow less secure apps access to your account.”

    Here’s an article discussing it. Apparently, “less secure apps” are those that don’t support OAuth2.0 for SMTP. It seems like only Google does.

    After all that, my website actually sent an email. It’s not like landing on mars, but it’s something.

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘SMTP connect() failed’ is closed to new replies.