Mailversand aus Kontaktform klappt nicht, Contao 4.9.5
Hallo, beim Mailversand aus dem Kontaktformular bekomme ich immer eine Fehlermeldung:
Swift_TransportException(code: 0): Expected response code 220 but got an empty response at /home/www/contao4-9/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:445)"} []
Folgende Einstellungen hab ich in der parameters.yml
mailer_transport: smtp
mailer_host: xxx.serverdomain.org
mailer_user: info@xyz.de
mailer_password: 'xxxxxxx'
mailer_port: 587
mailer_encryption: tls
Provider ist webhostone
Jetzt kommt die Meldung :-(
[2020-09-30 10:18:52] request.CRITICAL: Uncaught PHP Exception Swift_TransportException: "Connection could not be established with host smtp.strato.de :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol" at /mnt/web518/b2/14/510386214/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php line 269 {"exception":"[object] (Swift_TransportException(code: 0): Connection could not be established with host smtp.strato.de :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol at /mnt/web518/b2/14/510386214/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:269)"} []