Replies: 0
Hello, everyone.
first of all the scenario: There is a web provider where my customer has the domain. There we have DNS entries that redirect the user for ‘www’ to another server where the WordPress installation is running. Everything works fine, except for the mail delivery. No mails are delivered with the domain of the website (this is also understandable, because they are not handled by the server on which WordPress is running).
So the solution should be WP Mail SMTP. After a short configuration of the plugin with an external SMTP server everything should work. Unfortunately I always get the following log:
Versions:
WordPress: 5.0.4
WordPress MS: No
PHP: 7.2.31
WP Mail SMTP: 2.0.1
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: mail.hinterhofkonzert.de
Port: 465
SMTPSecure: ssl
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)
Server:
OpenSSL: OpenSSL 1.1.1g 21 Apr 2020
SMTP Debug:
2020-06-03 13:58:24 Connection: opening to ssl://mail.hinterhofkonzert.de:465, timeout=300, options=array (
)
2020-06-03 13:58:25 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to ssl://mail.hinterhofkonzert.de:465 (Connection refused)
2020-06-03 13:58:25 SMTP ERROR: Failed to connect to server: Connection refused (111)
2020-06-03 13:58:25 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
I have tried, without security, with SSL, with TLS and I have tried other SMTP-Servers. But I allways get the same error log. Please can anybody help me?
Thanks a lot
Manfred