[ python-Bugs-1349106 ] email.Generators does not separates headers with "\r\n"
SourceForge.net
noreply at sourceforge.net
Tue Jan 17 10:20:17 CET 2006
Bugs item #1349106, was opened at 2005-11-05 16:50
Message generated for change (Comment added) made by manlioperillo
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1349106&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: None
Status: Closed
Resolution: Wont Fix
Priority: 5
Submitted By: Manlio Perillo (manlioperillo)
Assigned to: Barry A. Warsaw (bwarsaw)
Summary: email.Generators does not separates headers with "\r\n"
Initial Comment:
Regards.
The email.Generator module does not separates headers
with "\r\n".
Manlio Perillo
----------------------------------------------------------------------
>Comment By: Manlio Perillo (manlioperillo)
Date: 2006-01-17 09:20
Message:
Logged In: YES
user_id=1054957
Ok, thanks.
But what if I don't use the smtplib module?
I discovered the bug because I have written a small NNTP
server with twisted, using email module for parsing...
----------------------------------------------------------------------
Comment By: Barry A. Warsaw (bwarsaw)
Date: 2006-01-17 05:35
Message:
Logged In: YES
user_id=12800
Correct; this is by design. If you're worried about
protocols such as RFC 2821 requiring \r\n line endings,
don't. The smtplib module automatically ensures proper line
endings for the on-the-wire communication.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1349106&group_id=5470
More information about the Python-bugs-list
mailing list