This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author anadelonbrin
Recipients
Date 2003-04-19.00:16:16
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
When imaplib.append is called, it should convert line 
endings from whatever they are (\r, \n or \r\n) to the 
format required by rfc2822 (in turn, required by rfc1730), 
i.e. CRLF - \r\n.

The email package generates mail with Python "internal" 
line endings (i.e. \n), and so if a message is flattened 
and then appended via imap improper line endings are 
sent.

While some imap servers are ok with this, at least one 
(Communigate Pro) mangles the message (all the 
headers become part of the body).

smtplib has an example of how to do this.
History
Date User Action Args
2007-08-23 14:12:33adminlinkissue723962 messages
2007-08-23 14:12:33admincreate