-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Small email sending code improvements #2532
Small email sending code improvements #2532
Conversation
Thanks @paolobarbolini , looks nice. |
We changed it to use punycode because of a user having trouble using it with an internationalized domain: #829. Not sure if that issue is applicable still. |
Looking at the changes done on the lettre side, i think this should be fixed now right @paolobarbolini ? |
I'll have to test it somehow because I don't think we ever got any issues reported about IDNs, so unless we happened to fix it in the middle of doing other changes we're still handling them wrong. |
@paolobarbolini Well you changed the email verifying now right? So that might have solved it right now? |
Ah right. The error is in the fact that verification was broken, not that we didn't encode the email properly 😅 |
Changed it. I didn't realize when the issue came up lettre 0.10.0-alpha.1 hadn't even been released yet, so it was still using the ancient email builder. This 0.10 release has been in the making for a long time 😄 |
Changes building
Address
by going through theFromStr
implementation. Also removes the manualMultiPart
build implementation, which must have been a workaround for a bug in a previous version.Depends on #2531