You wrote:
i want to find that whether text in MIME mail is attachment or mail content.
As you've discovered, there's effectively no difference. A text attachment will usually have a filename suggested in the content-disposition, but not always. The "content" or mail body will typically be the first entity - but again, not always.
If you describe what you're trying to do more specifically, maybe we can suggest another way to do it.