email library, get_payload() bug?

2011-02-18 Thread peterob
Helllo, I want to get the raw format of email body. the code Im using is for part in email.walk(): if part.get_content_maintype() == 'multipart': continue if part.get_content_type() == 'text/plain': # print

Re: email library, get_payload() bug?

2011-02-18 Thread aspineux
On 18 fév, 14:41, peterob peterob...@gmail.com wrote: Helllo, I want to get the raw format of email body. the code Im using is         for part in email.walk():                 if part.get_content_maintype() == 'multipart':                         continue                 if