Port 2525: "unable to connect to smtp.mailtrap.io:2525 (Connection refused)". Full display below`
2019-05-21 00:25:24 Connection: opening to smtp.mailtrap.io:2525, timeout=300, options=array ()
2019-05-21 00:25:25 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to smtp.mailtrap.io:2525 (Connection refused)
2019-05-21 00:25:25 SMTP ERROR: Failed to connect to server: Connection refused (111)
2019-05-21 00:25:25 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting`
Port 587: "Count not authenticate". Excerpt from the full display below `
2019-05-21 00:27:13 SERVER -> CLIENT: 535 Incorrect authentication data
2019-05-21 00:27:13 SMTP ERROR: Password command failed: 535 Incorrect authentication data
2019-05-21 00:27:13 SMTP Error: Could not authenticate.
2019-05-21 00:27:13 CLIENT -> SERVER: QUIT
2019-05-21 00:27:13 SMTP -> get_lines(): $data is ""
2019-05-21 00:27:13 SMTP -> get_lines(): $str is "221 box5181.bluehost.com closing connection
"`
I'm at a loss - what else should I try to resolve this?
Hi, as I can see in the error log, there is only a problem of authentication (the password is not correct) on port 587. On port 2525 the connection is refused, means your provider is blocking it. 25 and 465 -> timeout, again the provider is blocking them.