I am having problems using PHP mailer to send emails via a websites contact form, the following error is shown - SMTP -> ERROR: Failed to connect to server: Connection refused (111)
PHP mailer settings -
I can send and receive emails using Outlook without issue.PHP Code:$mail->Host = "mail.showcase-music.com"; // SMTP server
$mail->SMTPDebug = 1; // enables SMTP debug information (for testing)
$mail->SMTPAuth = true; // enable SMTP authentication
$mail->Host = "mail.showcase-music.com"; // sets the SMTP server
$mail->Port = 25; // set the SMTP port for the GMAIL server
$mail->Username = "info@showcase-music.com"; // SMTP account username
$mail->Password = "*******"; // SMTP account password
I've tried using cPanels Trace email route and it gives me the following -
Mail Routing Error
Filter/Alias File
SMTP Destination
Local Mailbox
the email routing is auto detected as local
I've attached a screen shot of the website's DNS settings.
Any help would be much appreciated.
Thanks



LinkBack URL
About LinkBacks
Reply With Quote





