Ron DuPlain <ron.dupl...@gmail.com> added the comment: It looks like the IMAP4.append method is responsible for the CRLF substitution (trunk/Lib/imaplib.py).
# defined near top of module: MapCRLF = re.compile(r'\r\n|\r|\n') # in append method: self.literal = MapCRLF.sub(CRLF, message) I'll work on a test for it this evening. -Ron ---------- nosy: +ron.duplain _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5430> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com