MIME and emails with disclaimers

2004-02-18 Thread HEARSON, CHRIS
When running the following command: 1 UID FETCH 51278 BODY.PEEK[1.MIME] I expect to and usually do receive the following response: * 163 FETCH (BODY[1.MIME] {52} Content-type: text/plain; charset=iso-8859-1 UID 51278) However, if I run the same command against a message that has a

Re: MIME and emails with disclaimers

2004-02-18 Thread Mark Crispin
If you want the Content-Type information, you need to fetch the BODYSTRUCTURE and not the .MIME parts. The .MIME parts only apply to subparts of a multipart. There is no reason to expect that 1.MIME will necessarily return anything interesting. -- Mark -- http://staff.washington.edu/mrc