#31784: Emails name over 75 characters are incompatible with the latest
versions of
python.
-----------------------------+---------------------------------------------
Reporter: Nick Orr | Owner: Florian Apolloner
Type: Bug | Status: closed
Component: Core (Mail) | Version: 2.2
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+---------------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"bfe404deb9dac43b44a14a6c9668e3346a9f5a4c" bfe404de]:
{{{
#!CommitTicketReference repository=""
revision="bfe404deb9dac43b44a14a6c9668e3346a9f5a4c"
[3.1.x] Fixed #31784 -- Fixed crash when sending emails on Python 3.6.11+,
3.7.8+, and 3.8.4+.
Fixed sending emails crash on email addresses with display names longer
then 75 chars on Python 3.6.11+, 3.7.8+, and 3.8.4+.
Wrapped display names were passed to email.headerregistry.Address()
what caused raising an exception because address parts cannot contain
CR or LF.
See https://bugs.python.org/issue39073
Co-Authored-By: Mariusz Felisiak <[email protected]>
Backport of 96a3ea39ef0790dbc413dde0a3e19f6a769356a2 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31784#comment:20>
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/067.bf115d43aa9d905367e05cf201941057%40djangoproject.com.