We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Detect whether MSG attachment is "inline"

I assume the ContentDisposition header may be helpful here (or whatever it is in Mapi), but I don’t want to assume too much of anything.


Basically, I simply want to determine if an existing MSG Attachment (MapiAttachment) is “inline” or truly “attached” (such that it is meant to be an external file - saved/viewed externally).

Is there an easy (or not so easy, but with example code!) way to do this with the latest versions of Email for Java?

Thanks!
-AJ

Hi Aaron,

Thank you for contacting Aspose Support team.

You may please refer to our documentation article, Differentiating between Inline and Regular Attachments, for an example related to this requirement. If you face any issue, please feel free to write to us for further assistance.

Ah, I did not see the Technical Article. That is perfect, thank you!


-AJ

Hi Aaron,

You are welcome and please feel free to write to us if you have any further query related to the API.