in reply to Re: Creating MIME entities with CRLF line endings
in thread Creating MIME entities with CRLF line endings

This converts binary parts too, which corrupts them if they contain the byte 0x0a.