• Resolved Nathan Ingram

    (@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?

    https://www.ads-software.com/plugins/easy-wp-smtp/

Viewing 15 replies - 16 through 30 (of 32 total)
  • In my case it was not a plugin issue at all or a settings issue.

    This is for everyone that hosts their sites on Bluehost, which is where my client’s site was hosted.

    Up until this point my client was using domain email so everything was working like it was intended. did not need the smtp plugin.

    He then switched to Google Apps and used gmail for his mx exchange to take advantage of all the resources that integrate with it.

    We were still using his domain email address but it was not ending at Bluehost but rather redirected to Gmail so Bluehost Blacklisted his site.

    After further research into this, earlier this year Bluehost changed their Spam Settings and automatically blacklist all email that is not resolving to their email servers. So no email going through to gmail.

    Once I found this out I got on live chat with Bluehost and sure enough it was blacklisted. Once they whitelisted my client’s domain the smtp plugin could connect again and all was happy again.

    It took 6 sessions on live chat (30 minute wait time every time) with them to finally convince them to look for this. They kept saying all your settings are correct there is no reason for this it just needs to propagate.

    The first time I got on chat before I found out about the automatic blacklist I made the “is this domain blacklisted” suggestion to their live chat support. But they told me it wasn’t the issue. Many wasted hours but it works.

    plansman

    (@plansman)

    I got the same problem but tried everything with no luck.

    i am using Configure-SMTP plugin for sending a mail but its not working.

    when i am trying this to localhost its work fine for me.
    But when i comes to my live server it generate the error SMTP connect() failed.

    I tried every possible configuration but not working for me.
    plz help……
    thanks

    @max_q you inspired me to create a solution. If you’re having trouble sending Gmail ‘using plain passwords to authenticate’ (i.e.. SMTPS with SSL or TLS), then you can either

    • ask Google to “allow less secure apps to access your account” or
    • actually use the authentication they want, which is OAuth 2.0

    I wrote a plugin to do just that Postman SMTP with OAuth for Gmail.

    My site emails were being swallowed by Google and I had no idea for months! There was no error. I didn’t realize until I tried to use the ‘forgot my password’ link and found it no longer worked.

    If you are using Gmail and configuring SMTP for the first time you might get the “Application/device sign-in attempt (prevented)” message. You will need to login to your gmail account and unblock it. Otherwise, the plugin will not be able to send email.

    See this post about blocked outgoing web server ports.
    WordPress post-6683898

    @marximusmg – your EC2 instance is sending, not receiving email, so there is no need to open an incoming port. If you are using an SSL connection to send mail through nsMail, try using the correct port 465.

    @belindajohnstone and @andrezasv – your email is being delivered properly so don’t blame the plugin. You need to fix your domain SPF record so Hotmail won’t flag the email as spam. You can also whitelist the contact form FROM address so Hotmail/Yahoo/AOL etc won’t automatically delete the messages or flag them as spam.

    Wondering how these smtp plugins work with domain email addresses?

    website – https://www.andrethierry.com
    email using [email protected]
    godaddy hosting.

    I keep getting failed error.
    Do I need to get my email whitelisted by godaddy?

    Any insight into this would be appreciated.

    Mostly I see gmail, yahoo, and hotmail help.

    thanks,
    Irene

    DO NOT USE ANY SMTP PLUGINS FOR GODADDY HOSTED WEBSITES.

    Godaddy has a closed hosting system.
    They do not permit you to send any email from the hosting server to email accounts that are not hosted by GoDaddy. All email sent from their hosting servers is forced to use mail(). You absolutely cannot send form or website admin email via SMTP.

    All SMTP traffic attempting to use Ports 25, 465 or 587 is automatically trapped by their proxy server. If the TO: address does not match a domain hosted at GoDaddy, the email is blocked. The sad thing is that their Tier 1 support people don’t even understand this security feature or comprehend how it works.

    SUPER SIMPLE SOLUTION IF YOU KEEP YOUR SITES AT GODADDY:
    If the email for the website domain is hosted at GoDaddy you need to change the FROM address, for your contact form and the email address used in WordPress Settings, to a mailbox or forwarding alias using that same domain.

    If you want the form or admin email to be delivered to an email account that is not hosted by GoDaddy, setup an email forwarder using a domain hosted at GoDaddy. We have a .net version of a domain that only has forwarders setup to send mail to the .com mail hosted on another service.

    The final solution for flawless website email delivery is to make sure your GoDaddy hosted website is sending email through a GoDaddy hosted mailbox or forwarder.

    Hi AWTX,

    Thank you very much for your response.
    I wanna make sure I understand.

    Are you saying to set up a .net domain as the exact same name as the .com domain?

    Would you be so kind to show me your examples? All info is APPRECIATED!

    I really need this to work for my website. I knew it was going to be some silly godaddy boundary.

    Thanks,
    Irene

    Looking at your domain, you don’t have to do anything.
    Your MX record is pointing to GoDaddy so your email is setup there.

    Just make sure your contact forms send TO your andrethierry.com email address. Then check the site owner email address in WordPress General Settings to make sure it has a andrethierry.com email address.

    Login to WordPress, click Settings on left side menu, click General.

    If you want WordPress alerts/notifications to do to a different email address that is not hosted at GoDaddy, setup a GoDaddy forwarder for it.

    To send from WordPress to [email protected] you would create a forwarder [email protected] in your GoDaddy account and add [email protected] as the destination. Then in WordPress you would use [email protected].

    FYI to all who are interested, we solved @andrethierry’s issue in two parts.

    1. setting the correct SMTP server (relay-hosting.secureserver.net on port 25 with STARTTLS) for GoDaddy-hosted email
    2. setting the correct SPF on the domain to prevent rejection at Gmail and Yahoo: “v=spf1 a mx include:secureserver.net ~all”

    — This is regarding GoDaddy hosting only. The Postman SMTP plugin is brilliant and the Easy WP SMTP plugin with work with the majority of hosting companies.

    Jason, NO, you didn’t really fix anything. You are simply making it look like you did by duplicating what is happening automatically on the hosting server. Your plugin (or any SMTP plugin on a GoDaddy site) is not actually doing anything in this particular case.

    Using an SMTP plugin for GoDaddy WordPress hosting is a completely useless extra step. GoDaddy will automatically route all PHP mail() email through their proxy controlled relay servers no matter what you attempt to do with scripts or plugins. Email from a GoDaddy hosted site can only be delivered to GoDaddy hosted forwarders or email accounts.

    Even in this particular case where it looks like the plugin is doing the job, the efforts of the plugin are completely ignored on the server.

    Per GoDaddy server admin staff; their antispam measures are hardcoded into the servers so that wp_mail() will always use PHP mail() and PHP mail() will always send mail through their relay servers. Any email is automatically whitelisted when sent from any of their website hosting accounts to GoDaddy hosted email accounts. Don’t ignore the SPF record though, that should always be setup to ensure normal email delivery.

    No need to argue, just try using the plugin to send email directly to a Gmail account or any mailbox not hosted by GoDaddy. It will fail.

    THIS IS VERY SIMPLE.
    You absolutely cannot get around GoDaddy’s antispam security measures. You don’t need to install anything if, like @andrethierry, your website & email are hosted by GoDaddy. Just make sure your WordPress site owner email address and your contact forms send mail TO a GoDaddy hosted forwarder or email account. Andre was just working too hard (just like many of us have) to solve a expected problem when GoDaddy already had a super simple solution hardcoded into the server.

    awtx – emails are moving along now. purchasers are getting emails.

    Question — what is— a GoDaddy hosted forwarder or email account?
    Is this a separate domain I have to purchase?
    Please provide examples(you may have already done this.)
    I’d really like to see what your set up looks like.

    [email protected]

    thanks.

    “GoDaddy hosted forwarder or email account” means exactly that, the email is hosted at GoDaddy.

    Explore your GoDaddy Products tab so you are familiar with your account.

    I am having the same problems others have mentioned here: I get the “SMTP connect() failed” whenever I test the settings.

    Let me post some information here and perhaps someone can assist me with this.

    First of all my site is gateslosangeles.com. The email system that the site uses, however, is mulhollandsecurity.com. In other words, people coming to the gateslosangeles site are filling out gravity forms that are configured to send notifications via mulhollandsecurity.com. Both gateslosangeles and mulhollandsecurity sites are hosted at godaddy.

    We are using Google apps for business for mulhollandsecurity.com so that we have the various benefits of that.

    I have the mx records at godaddy configured correctly, and mail sent to [email protected] from outside of wordpress is coming to us just fine. Here is a screenshot of our mx records settings in our Godaddy acct: https://screencast.com/t/xOlbRnUxthu.

    Without using your plugin, we were often getting our notification emails via the gravity forms notifications, but not always. Gravity forms support suggested your plugin.

    Am I understanding correctly, that the smptp user and password would be the username and password for one of our google business accounts, yes? Like username: [email protected] and Fa1kPa66word, yes?

    Every time I send a test email, it says that it failed. I have tried both the 465/ssl and the 587/tls combinations.

    Thanks for being there on support!

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