#35497: Long email address causes crash when generating a message -------------------------------------+------------------------------------- Reporter: Alexandru Chirila | Owner: Clinton | Christian Type: Bug | Status: assigned Component: Core (Mail) | Version: 5.0 Severity: Normal | Resolution: Keywords: email, compat32 | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Comment (by Florian Apolloner):
Replying to [comment:7 Mike Edmunds]: > [This issue would also be solved—without altering line length—by upgrading django.core.mail from legacy email.message.Message (policy=compat32) to modern email.message.EmailMessage (policy=default), and letting the modern email package handle header sanitization and folding. Though that's a much larger scope than this individual bug.] Would be worth to investigate how much effort that would be. I'd be in favor of staying in line with Python. -- Ticket URL: <https://code.djangoproject.com/ticket/35497#comment:8> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107019050918604-78741abe-dd76-4683-b309-74981bda51ec-000000%40eu-central-1.amazonses.com.