Skip to content
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] [Mailgun] Disable tls for mailgun as it should use STARTTLS #51042

Merged
merged 1 commit into from Jul 21, 2023

Conversation

joelwurtz
Copy link
Contributor

Q A
Branch? 6.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets
License MIT
Doc PR

Since symfony 6.3 smtp mailgun use 587 as default port with tls true, but it does not work :

image

Setting tls to false, force the smtp transport to try to use STARTTLS if available like others smtp providers (mailchimp in example)

@joelwurtz
Copy link
Contributor Author

Ref #34846 (comment) for more explanation

@nicolas-grekas nicolas-grekas merged commit d5f4cf2 into symfony:6.3 Jul 21, 2023
8 of 9 checks passed
@nicolas-grekas
Copy link
Member

Thank you @joelwurtz

@fabpot fabpot mentioned this pull request Jul 30, 2023
@joelwurtz joelwurtz deleted the fix/mailgun-smtp branch August 14, 2023 20:13
nicolas-grekas added a commit that referenced this pull request Dec 19, 2023
…e STARTTLS (RFreij)

This PR was merged into the 6.4 branch.

Discussion
----------

[Mailer] [Mailjet] Disable tls for mailjet as it should use STARTTLS

| Q             | A
| ------------- | ---
| Branch?       | 6.4 <!-- see below -->
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Issues        |  <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
| License       | MIT

#52560 updates the default mailjet port and references the same change for mailgun.

Similar to #51042 and with the same error message, the mailjet connection doesn't work now.

The PR above already has a reference, but for completion sake: Ref #34846 (comment) for more explanation

Commits
-------

709d56f fix(mailjet-smtp): disable tls for mailjet as it should use starttls instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants