email lib folding bug

P

peterob

Hello,

Im experiencing email lib bug. The problem is in folding.

My email header has folding in content type:

Content-Type: application/octet-stream ('\n')
('\t') name="BEX.htm"

When I read content type I get
"application/octet-stream\n\tname="bex.htm".

So content-type includes name= field, whats bad.

I was reading content type by:
print msg.get_content_type()


Any ideas?


Thanks

Best,
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top