﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31784	Emails name over 75 characters are incompatible with the latest versions of python.	Nick Orr	Florian Apolloner	"In the process of sending an email the addresses is sanatized:

django/core/mail/message.py:98 => def sanitize_address(addr, encoding)

The Name portion is encoded via the Header class email.header.Header.encode which will introduce newlines at 75 characters.

Unfortunately the most recent python security update no longer allows that to happen. So when  Address(nm, addr_spec=addr) is called in sanitize_address a new error is raised from the Python Standard library.

The update to python can be found here: https://github.com/python/cpython/commit/f91a0b6df14d6c5133fe3d5889fad7d84fc0c046#diff-3c5a266cd05e7d4173bf110ee93edd16

Essentially Django can no longer send emails with names longer then 75 chracters."	Bug	closed	Core (Mail)	2.2	Normal	fixed		Joachim Jablon Florian Apolloner	Ready for checkin	1	0	0	0	0	0
