-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Mailer] add ability to disable the TLS peer verification via DSN #12997
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
…ion via DSN (Aurélien Fontaine) This PR was squashed before being merged into the 5.1-dev branch (closes #35262). Discussion ---------- [Mailer] add ability to disable the TLS peer verification via DSN | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | Fix | License | MIT | Doc PR | symfony/symfony-docs/pull/12997 Add the ability to disable the peer TLS verification with the DNS when using `EsmtpTransport` like this : ``` MAILER_DSN=smtp://foo@default?verify_peer=false ``` By default the verification is enabled Commits ------- 4b854da [Mailer] add ability to disable the TLS peer verification via DSN
…ion via DSN (Aurélien Fontaine) This PR was squashed before being merged into the 5.1-dev branch (closes #35262). Discussion ---------- [Mailer] add ability to disable the TLS peer verification via DSN | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | Fix | License | MIT | Doc PR | symfony/symfony-docs/pull/12997 Add the ability to disable the peer TLS verification with the DNS when using `EsmtpTransport` like this : ``` MAILER_DSN=smtp://foo@default?verify_peer=false ``` By default the verification is enabled Commits ------- 4b854da73e [Mailer] add ability to disable the TLS peer verification via DSN
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like if the SMTP server has a self signed certificate
You should still verify it. But if you are lazy like I am, then you are most likely to ignore it with this new settings =).
I think this should be rephrased.
I agree that this should be a separate paragraph, because many SMTP related transports extends from EstmpTransport
which brings this feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
(Sorry for the multiple PR reviews)
0943b8b
to
28a391a
Compare
@Livda thanks for this contribution (and for contributing the feature too). We did some rewords while merging and added the missing Congrats on your first Symfony Docs contribution! |
…ion via DSN (Aurélien Fontaine) This PR was squashed before being merged into the 5.1-dev branch (closes #35262). Discussion ---------- [Mailer] add ability to disable the TLS peer verification via DSN | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | Fix | License | MIT | Doc PR | symfony/symfony-docs/pull/12997 Add the ability to disable the peer TLS verification with the DNS when using `EsmtpTransport` like this : ``` MAILER_DSN=smtp://foo@default?verify_peer=false ``` By default the verification is enabled Commits ------- 4b854da73e [Mailer] add ability to disable the TLS peer verification via DSN
Documentation for the PR symfony/symfony#35262