Skip to content

[Mailer] When using Sendgrid with SMTP and no region, host is built incorrectly #59102

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

Closed
wants to merge 1 commit into from

Conversation

klaussilveira
Copy link
Contributor

@klaussilveira klaussilveira commented Dec 5, 2024

Q A
Branch? 7.2
Bug fix? yes
New feature? no
Deprecations? no
License MIT

When using Sendgrid with SMTP and no region, host is built incorrectly. This bug basically breaks sending emails via SMTP with Sengrid if there is no region configured.

Added failing test with current code:

image

After fix:

image

@carsonbot
Copy link

Hey!

Thanks for your PR. You are targeting branch "7.3" but it seems your PR description refers to branch "7.2".
Could you update the PR description or change target branch? This helps core maintainers a lot.

Cheers!

Carsonbot

@klaussilveira klaussilveira changed the base branch from 7.3 to 7.2 December 5, 2024 17:42
@xabbuh
Copy link
Member

xabbuh commented Dec 5, 2024

Duplicate of #59099?

nicolas-grekas added a commit that referenced this pull request Dec 7, 2024
This PR was merged into the 7.2 branch.

Discussion
----------

[Mailer] add test covering null regions

| Q             | A
| ------------- | ---
| Branch?       | 7.2
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        |
| License       | MIT

even if the fix in #59102 was a duplicate of #59099 having the test IMO is still a good idea

Commits
-------

91f4a2c add test covering null regions
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.

3 participants