This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jwilk
Recipients jwilk, pl
Date 2009-04-28.21:25:34
SpamBayes Score 0.52481365
Marked as misclassified No
Message-id <1240953937.2.0.828159818097.issue5871@psf.upfronthosting.co.za>
In-reply-to
Content
>>> from email.mime.text import MIMEText
>>> from email.header import Header
>>> msg = MIMEText('dummy')
>>> h = Header('dummy\nX-Injected-Header: yes')
>>> msg['Subject'] = h
>>> print msg.as_string()
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: dummy
X-Injected-Header: yes

dummy
History
Date User Action Args
2009-04-28 21:25:37jwilksetrecipients: + jwilk, pl
2009-04-28 21:25:37jwilksetmessageid: <1240953937.2.0.828159818097.issue5871@psf.upfronthosting.co.za>
2009-04-28 21:25:35jwilklinkissue5871 messages
2009-04-28 21:25:34jwilkcreate