-
-
Notifications
You must be signed in to change notification settings - Fork 9.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
Correctly implements RFC6531 #44136
Comments
Hey, thanks for your report! |
This is still relevant! There is no way to make this work without fixing the library. |
@j-bernard but are you willing to contribute a fix ? |
I'm willing but the real question is do I have the time to work on it ;) |
Swiftmailer has SMTPUTF8 support, but it comes with some constraints. So, I decided to not port it to Symfony Mailer as converting the domain to ASCII is enough to make it work everywhere. |
Symfony version(s) affected
5.1
Description
Commit d057dff allows non-ASCII local-part in email addresses but this should come with RFC6531 implementation (SMTPUTF8 extension).
It seems that this is not implemented.
How to reproduce
If you try sending an email with non-ASCII email address to a server that correctly implements RFC6531, it will return
501 Syntax Error
.You can try with this version of Mailhog that implements SMTPUTF8 extension.
Possible Solution
Implement RFC6531
Additional Context
No response
The text was updated successfully, but these errors were encountered: