﻿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
9233	EmailMessage.message() duplicates data from extra_headers	kostaz	nobody	"If I have ""Date"" and ""Message-ID"" in extra_headers, the message() method of the EmailMessage will first create default ones and then add the ones specified in the extra_headers, thus creating duplicates. A proposed solution to this is to check if they were specified in extra_headers and use those, instead of creating default ones.

i.e.

{{{
if not 'Date' in self.extra_headers: 
    msg['Date'] = formatdate()
if not 'Message-ID' in self.extra_headers:
    msg['Message-ID'] = make_msgid()
}}}"		closed	Core (Mail)	1.0		fixed		densetsu.no.ero.sennin@… nreilly@…	Unreviewed	0	0	0	0	0	0
