[New-bugs-announce] [issue25235] EmailMessage.add_attachment() creates parts with spurious MIME-Version header.
Kai Groner
report at bugs.python.org
Fri Sep 25 21:47:28 CEST 2015
New submission from Kai Groner:
Because MIMEPart.add_attachment() creates parts using type(self), EmailMessage.add_attachment() creates parts of type EmailMessage. This results in a MIME-Version header being added to parts where it isn't needed.
https://tools.ietf.org/html/rfc2045#section-4
----------
components: email
files: test_add_attachment_does_not_add_MIME_Version_in_attachment.patch
keywords: patch
messages: 251600
nosy: barry, groner, r.david.murray
priority: normal
severity: normal
status: open
title: EmailMessage.add_attachment() creates parts with spurious MIME-Version header.
type: behavior
versions: Python 3.5
Added file: http://bugs.python.org/file40576/test_add_attachment_does_not_add_MIME_Version_in_attachment.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25235>
_______________________________________
More information about the New-bugs-announce
mailing list