#33969: Improve django.core.mail.messages EAI processing
-------------------------------+--------------------------------------
Reporter: j-bernard | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Mail) | Version: 4.0
Severity: Normal | Resolution:
Keywords: EAI IDNA RFC | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by Florian Apolloner):
> try to send the message, regardless of the presence of Unicode in the
address (Python smtplib will add the right options if you use the
send_message method else the SMTPUTF8 option should be provided)
Can you link the code in question?
> if smtplib.SMTPNotSupportedError is raised
What does this error tell us? Given a standard setup your "mail server" is
often a simple relay running on localhost which probably doesn't give you
errors often. Whether or how the server it relays to does domain
internationalization is unknown to it.
I am not deep into mail standards, so any details you could provide here
would be helpful. I also do think that we have some leeway when changing
stuff here because international domain names are not used often. We just
should make clear to not introduce any security issues (like sending mail
to a different domain all of a sudden -- though I am not sure if we can
prevent that realistically because for instance `ß` encodes differently in
the standards iirc).
--
Ticket URL: <https://code.djangoproject.com/ticket/33969#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070182f30f083d-7ba2268d-fe67-4f7c-b96e-7969c588ec25-000000%40eu-central-1.amazonses.com.