cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SMTP relay settings

smtp.PNGDo these SMTP settings look correct for SMTP relay using XYZForms which essentially uses PHPMailer on the back end. 

 

I keep getting an error no matter how many different combos I try for SMTP settings.

 

2018-03-25 19:28:31 SMTP ERROR: Failed to connect to server: Connection refused (111) 2018-03-25 19:28:31 SMTP connect() failed. https ://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Mailer Error Mail: SMTP connect() failed. https ://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
 
Anyone can help?
2 REPLIES 2
Employee
Employee

Re: SMTP relay settings

What type of hosting are you using?

With cPanel you use localhost as the server, no login, no ssl, on port 25

For other types of shared hosting, it's mostly the same, but you use relay-hosting.secureserver.net as the server.

Re: SMTP relay settings

I am using Deluxe Web hosing Linux with no cpanel.

 

I have set my application use port 25, notls, and authentication false and still get an error.

 

2018-03-26 13:49:11 CLIENT -> SERVER: EHLO quickshottargets.net 2018-03-26 13:49:11 SMTP Error: Could not authenticate. 2018-03-26 13:49:11 CLIENT -> SERVER: QUIT 2018-03-26 13:49:11 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Mailer Error Mail: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

 

So it seems even on port 25 its can authenticate to the server.