Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution

Error when trying to send email with phpmailer



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:

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?



Re: Error when trying to send email with phpmailer

Fix it by using another smtp server,

I used: in port 25 


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