-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Mailer] Set default crypto method #31846
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
Conversation
src/Symfony/Component/Mailer/Transport/Smtp/Stream/SocketStream.php
Outdated
Show resolved
Hide resolved
@bpolaszek Looks like an unrelated commit is part of your PR now (from a PR I've just merged). |
@fabpot Yes, since travis and appveyor failed on my 2nd commit, I tried to rebase and it looks like it's all messed up... I'm trying again. |
Well, builds are still failing but I don't think it's related. |
Thank you @bpolaszek. |
This PR was merged into the 4.3 branch. Discussion ---------- [Mailer] Set default crypto method | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #31105 | License | MIT | Doc PR | - This PR fixes #31105 by providing `STREAM_CRYPTO_METHOD_TLS_CLIENT | STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT | STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT` as default crypto method when none is defined in user options and TLS is enabled. Commits ------- 4f0ad25 Set default crypto method - Fix #31105
Works now like a charm using Amazon SES transport — which relays on (e)smtp transport. Thank you @bpolaszek ! |
This PR fixes #31105 by providing
STREAM_CRYPTO_METHOD_TLS_CLIENT | STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT | STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT
as default crypto method when none is defined in user options and TLS is enabled.