cancel
Showing results for 
Search instead for 
Did you mean: 
Go to solution

Error when trying to send email with phpmailer

Hi,

 

I'm getting an error from the server when I try to send programmatically an email,

 

The server settings I got them from the Email Setup Center,

The smtp host that i'm connecting is: smtpout.secureserver.net

I tried ports 25, 80, 3535 and 465 with ssl

user:   {user}@{mydomain}  

 

The error that I get is:

SMTP -> ERROR: Failed to connect to server: Connection refused (111)

 

I have an ultimate hosting linux plan, so I guess I'm allowed to do this,

what can be the problem, should I use a different smtp server?

 

1 REPLY 1
Solution

Re: Error when trying to send email with phpmailer

Fix it by using another smtp server,

I used:  relay-hosting.secureserver.net in port 25 

 

I found this in another thread, this is not in any godaddy documentation page, that I searched.