• So, after spending an hour with GoDaddy support, I’m still at square one in resolving an email issue using godaddy email servers.

    I have 3 WordPress web sites hosted on GoDaddy and you would think that it would be easy to configure the “Contact Us” page to send out an email notification of a new feedback message, but no…

    I am not going to point to any specific plugin because I tried at least 4 that all come back with the same error:
    SMTP ERROR: Failed to connect to server: Connection refused (111)SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    According to the GoDaddy support people, I should be using the:
    relay-hosting.secureserver.net
    SMTP-host settings.

    So, my question is simple; has anyone successfully sent an email through GoDaddy’s email servers from a WordPress site hosted on GoDaddy servers? All I am trying to do is send a simple “Contact Us” message, not a mass-marketing blast.

    Thanks,
    Eric

    Here is another support page from GoDaddy that says the same thing, it too doesn’t work:
    https://in.godaddy.com/community/Managing-WordPress/No-email-notification/td-p/94826

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’ve seen this error before, but not with GoDaddy.

    The simple solution is to have your web hosting provider open up the outbound SMTP port in their firewall allowing the connection to go through.

    However, as the PHPMailer article indicates, GoDaddy has some very strict email rules as they’re trying to protect their servers from Spam (understandable but also frustrating).

    Basically all outbound email HAS to be sent through their servers as they stated:

    relay-hosting.secureserver.net
    Port: 25

    But also, all security must be disabled:

    $mail->SMTPAuth = false;
    $mail->SMTPSecure = false;

    This is different depending on what plugin you’re using.

    One of the most popular plugins is Contact Form 7 which actually has it’s own support article on GoDaddy:

    https://in.godaddy.com/help/setup-contact-form-7-in-wordpress-27024

    The main thing to get from this is your “from” email address MUST match the domain on the hosting account (actually the same on many web hosts).

    Give that a shot and if you continue to have issues check out this:

    https://in.godaddy.com/help/troubleshoot-and-fix-wordpress-contact-form-errors-26973

    Best of luck!

    It has to be on port 25, no ssl, no login.

    Also it depends on your hosting type. That server is correct for managed wordpress, but it should be localhost for cPanel.

    But the real answer is why are you trying to use an SMTP plugin? PHP sendmail() is already configured you shouldn’t need it.

    Another thing to look into is something like sendgrid.com, their API connection is allowed from their wordpress plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Godaddy email issues (Connection Refused)’ is closed to new replies.