From: Paul Lutus Date: 2006-09-30T05:45:17+09:00 Subject: Re: wrong content-type when trying to parse emails with Net::IMAP Chris Hall wrote: > i'm trying to parse an email that is supposed to be a multipart/mixed > mail but i am not getting back the expected results. What did you expect? / ... > as you can see above, the content-type is clearly multipart/mixed, but > yet, when i dump the bodystructure, i get text/plain. the size and > lines corresponds to the size/lines of the body of the email. > > anyone got any ideas on this one? Sure. In e-mails everything is plain text -- it has to be, in order to be acceptable to the protocol. Therefore the content encoding is set up to consist entirely of ASCII characters. It is up to the receiving software to convert this plain-text form into graphics or whatever the content actually represents. -- Paul Lutus http://www.arachnoid.com