Author lclement
Recipients lclement
Date 2009-03-20.03:11:48
SpamBayes Score 3.36408e-07
Marked as misclassified No
Message-id <1237518711.23.0.918881027535.issue5525@psf.upfronthosting.co.za>
In-reply-to
Content
I'm running Python 2.5.2 under Ubuntu 8.10.

In the file email/generator.py from the core library at line 228 in the
function _handle_multipart()
            # delimiter transport-padding CRLF
            print >> self._fp, '\n--' + boundary
but if this function is run under Unix it print only the LF and not the
CRLF as by required by the standard. 

My guess is that this error is also in other part of the library.
SMTP (as HTTP) requires CRLF as new line, by standard, while I see that
at the beginning of the generator.py
NL = '\n'

Am I missing something?

Luca
History
Date User Action Args
2009-03-20 03:11:51lclementsetrecipients: + lclement
2009-03-20 03:11:51lclementsetmessageid: <1237518711.23.0.918881027535.issue5525@psf.upfronthosting.co.za>
2009-03-20 03:11:49lclementlinkissue5525 messages
2009-03-20 03:11:48lclementcreate