Bug #91070
closedSMTP transport 'tls' no longer work supported
100%
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
?
Updated by Benjamin Franzke over 4 years ago
- Related to Bug #90295: Sending mails by SMTP throws and exception added
Updated by Benni Mack over 4 years ago
I agree, we should do a "SilentUpgrade" for this
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64246
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64246
Updated by Gerrit Code Review over 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64246
Updated by Benni Mack over 4 years ago
- Target version changed from 10 LTS to next-patchlevel
Updated by Gerrit Code Review over 4 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64246
Updated by Gerrit Code Review over 4 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64246
Updated by Gerrit Code Review over 4 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64246
Updated by Benjamin Franzke over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f471ccd2c53d693dff95398ffd5e6acb4e196d96.
Updated by Torben Hansen over 4 years ago
- Related to Bug #91391: SMTP encrypt setting migration not always correct added