SMTP issues — SMTP connect() failed.
-
Here is the full error when trying the test message:
The SMTP debugging output is shown below:
Invalid address: (cc):
Invalid address: (bcc):
Invalid address: (Reply-To):
2019-10-17 00:35:09 SMTP ERROR: Failed to connect to server: Connection refused (111)
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
The full debugging output is shown below:
object(arf_PHPMailer)#2020 (73) {
[“Priority”]=>
NULL
[“CharSet”]=>
string(5) “UTF-8”
[“ContentType”]=>
string(21) “multipart/alternative”
[“Encoding”]=>
string(4) “8bit”
[“ErrorInfo”]=>
string(82) “SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting”
[“From”]=>
string(23) “[email protected]”
[“FromName”]=>
string(26) “Southland Physical Therapy”
[“Sender”]=>
string(23) “[email protected]”
[“Subject”]=>
string(16) “SMTP Test E-Mail”
[“Body”]=>
string(639) “Testing
——–Hosting is on GoDaddy
Email is on Google
One problem that I have found in researching this problem is that GoDaddy blocks outbound SMTP to ports 25, 465 and 587 to all servers except their own.
The Google email uses 465.
The topic ‘SMTP issues — SMTP connect() failed.’ is closed to new replies.