Page 1 of 1

Error: Could not connect to the host "smtp.gmail.com": Conne

Posted: Mon Jan 06, 2014 10:41 am
by Aber28
Hi all,

I am trying to setup hesk so to be able to send emails using the Google apps however I am constantly getting the following error when I click "Test SMTP connection":

Error: Could not connect to the host "smtp.gmail.com": Connection refused

I have written the following data in the e-mail details fields:

Email Sending
Send emails using: [?] PHP mail() | SMTP Server
SMTP Host: [?] smtp.gmail.com
SMTP Port: [?] 587
SMTP Timeout: [?] 20
SSL Protocol: [?] OFF
TLS Protocol: [?] ON
SMTP Username: [?] info@mydomain.com
SMTP Password: [?] mypassword

Could anyone help me out please? :)

Re: Error: Could not connect to the host "smtp.gmail.com": C

Posted: Mon Jan 06, 2014 12:11 pm
by Klemen
Your details are correct.

The error means the connection is being blocked by firewall. Ask your host to open port 587 in the firewall.

Re: Error: Could not connect to the host "smtp.gmail.com": C

Posted: Mon Jan 06, 2014 12:20 pm
by Aber28
Thanks for the confirmation. Do you know if Godaddy blocks that specific port by any chance?

Thanks

Re: Error: Could not connect to the host "smtp.gmail.com": C

Posted: Mon Jan 06, 2014 7:32 pm
by Klemen
I don't know for GoDaddy, but the practice is to block all ports by default and allow just the ones you use.