First, I'd like to thank you for implementing the email package.
It seems very complete and will be useful for sure.
I've been looking at the Generator module. It seems to be writing
the message with:
print >> self._fp, "text"
This should probably be replaced by:
Print's end of line will depend on the system where python is being
run. If you run it in Linux, it will output just a "\n". This breaks
Messages are divided into lines of characters. A line is a series of
characters that is delimited with the two characters carriage-return
and line-feed; that is, the carriage return (CR) character (ASCII
value 13) followed immediately by the line feed (LF) character (ASCII
value 10). (The carriage-return/line-feed pair is usually written in
this document as "CRLF".)
As a side note, I'd like to suggest the inclusion of some kind of
"raw_input". There are cases where you want to see the raw message
(or just part of it), instead of regenerating it. This happens, for
example, when you want to check a signed multipart message.
Thank you very much!
[ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]