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
[Mailer] EsmtpTransport TLS option #36005
Comments
i've got the same error.
and when I try to send something :
|
I thinks that this condition is false. We should not call startTLS if we are not in TLS. see symfony/symfony#36005
I thinks that this condition is false. We should not call startTLS if we are not in TLS. see symfony#36005 That's my first PR on symfony, so please say me if it's not the right way to do.
I thinks that this condition is false. We should not call startTLS if we are not in TLS. see symfony#36005 That's my first PR on symfony, so please say me if it's not the right way to do.
I find out one solution for this is to disable SSL verify_peer and verify_peer_name. But I still thinks that there is a bug in the code I mention above.
|
Well, if your SMTP server advocates STARTTLS support but does not have a valid cert, the bug is in your SMTP setup, not in Symfony. |
Thanks for the advice. I will check that. |
It's ok. The posfix config was wrong. Sorry. You can close this issue |
Symfony version affected: 5.0.5
Description
I am not sure if it is really bug, or I am using something in wrong way. But when I want to setup EsmtpTransport with no TLS option it will be launched anyway. It was created on Aug 19, 2019 and still exists in master code.
The text was updated successfully, but these errors were encountered: