-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Azure email provider can't handle display names in email addresses #16888
Comments
BenedekFarkas
added a commit
that referenced
this issue
Oct 15, 2024
BenedekFarkas
added a commit
that referenced
this issue
Oct 15, 2024
BenedekFarkas
added a commit
that referenced
this issue
Oct 15, 2024
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues). This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here. |
BenedekFarkas
added a commit
that referenced
this issue
Oct 24, 2024
github-project-automation
bot
moved this from To Do
to Done
in Orchard Core tracked issues
Oct 28, 2024
This was referenced Nov 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The Azure email provider surfaces an exception from
Azure.Communication.Email
when it passes in email addresses that include a display name to the constructor of theEmailAddress
class inAzureEmailProviderBase
.Orchard Core version
2.0
To Reproduce
Orchard.Email.Azure
feature./Admin/Email/Test
) and provide an email address in theDisplay Name <[email protected]>
format in any of the fields that accept an email address.Expected behavior
The provider should deconstruct such email addresses and use the other overload of the
AzureEmailProviderBase
constructor which accepts a separate display name parameter too.Orchard.Email.Smtp
handles this correctly, because MimeKit takes care of deconstructing such email addresses.The display name for the sender field is simply dropped, because the SDK doesn't support it: Azure/azure-sdk-for-net#43847
The text was updated successfully, but these errors were encountered: