Project

General

Profile

Actions

Bug #91070

closed

SMTP transport 'tls' no longer work supported

Added by Benjamin Franzke over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
Start date:
2020-04-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

With transport_smtp_encrypt = tls set for STARTTLS SMTP connections,
TYPO3 v10 will cast transport_smtp_encrypt to bool.
That boolean is passed to symfony mailer which interprets TLS = true as SSL (ssl://) connection.

That results in the following error when sending a mail:

Could not deliver mail
Please verify $GLOBALS['TYPO3_CONF_VARS']['MAIL'][*] settings are valid. Error message: Connection could not be established with host "ssl://mail.your-server.de:587": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.

To use TLS (STARTTLS) TLS = false would need to be passed to Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport.

Should TYPO3 provide a smooth migration to set transport_smtp_encrypt=tls to TLS=false?


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #90295: Sending mails by SMTP throws and exceptionClosedSimon Gilli2020-02-02

Actions
Related to TYPO3 Core - Bug #91391: SMTP encrypt setting migration not always correctClosedBenjamin Franzke2020-05-14

Actions
Actions

Also available in: Atom PDF