[issue5871] email.header.Header allow to embed raw newlines into a message

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: The example, which combines part of the subject line with another header line, strikes me as bizarre, confusing, and unnecessary. Can you provide some rationale, motivation, or use case? Without that, I would tend to think this should be closed. -- n

[issue5871] email.header.Header allow to embed raw newlines into a message

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- assignee: barry -> r.david.murray nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mai

[issue5871] email.header.Header allow to embed raw newlines into a message

2009-04-28 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> barry nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue5871] email.header.Header allow to embed raw newlines into a message

2009-04-28 Thread Jakub Wilk
New submission from Jakub Wilk : >>> 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