Skip to main content
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Getting Started

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 :// Mailer Error Mail: SMTP connect() failed. https ://
Anyone can help?

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 as the server.

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 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. Mailer Error Mail: SMTP connect() failed.


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