-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TLS issue fix #284
Comments
Yes, it's working for me. Thanks |
Please check this file from here: https://github.com/Shardj/zf1-future/blob/master/library/Zend/Mail/Protocol/Smtp.php STREAM_CRYPTO_METHOD_TLS_CLIENT|STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT|STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT is a much better solution then STREAM_CRYPTO_METHOD_ANY_CLIENT because disables SSL protocol and leave only TLS. I hope that in the coming months we will replace in OpenMage ZF1 inherited from Magento 1 and keep up with ZF1-Future which is an active project. |
Its perfect working with all :) |
The extension no longer works with email services (office365) that require TLS 1.2 or
higher. It seems to be a problem with the Zend Mailer hard coding in
only TLS 1.0 support.
The file httpdocs/lib/Zend/Mail/Protocol/Smtp.php has the following.
if (!stream_socket_enable_crypto($this->_socket, true,
STREAM_CRYPTO_METHOD_TLS_CLIENT)) {
STREAM_CRYPTO_METHOD_TLS_CLIENT defaults to TLS1.
If you change that to
if (!stream_socket_enable_crypto($this->_socket, true,
STREAM_CRYPTO_METHOD_ANY_CLIENT)) {
then a TLS1.2 connection can be established and all is well again
The text was updated successfully, but these errors were encountered: