when i try to read the content-type, disposition, etc fields of an text attachment, it looks same as the content of mail.
Show your code (and complete message, like multi-simple.msg), otherwise see
examples/mimedump it shows how.
Comment on Re: how to find text file in MIME mail is attachment or content of mail??