Incorrect Email Attachment Type

Add-in Express™ Support Service
That's what is more important than anything else

Incorrect Email Attachment Type
Add-in-Express seems to have the wrong attachment type 
Stephen Lee




Posts: 9
Joined: 2022-06-16
During testing I found that the attachment types were incorrectly reported by Add-in-express. All the embedded images in my email has olByValue as the attachment type.

MailItem.Attachments.Item(i).Type == olAttachmentType.olByValue even if the gif was an inline image within the body of the email.
Posted 06 Oct, 2022 16:49:26 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Stephen,

You use Add-in Express to create an add-in. You use the Outlook object model to find the details of a given email or attachment. I suggest that you google for a solution. Check https://social.msdn.microsoft.com/Forums/en-US/d125cb20-389d-4f73-834e-ca9fd590ce7f/how-to-determine-the-type-of-the-outlook-attachment?forum=vsto.

Regards from Poland (CEST),

Andrei Smolin
Add-in Express Team Leader
Posted 07 Oct, 2022 04:53:08 Top
Stephen Lee




Posts: 9
Joined: 2022-06-16
Thank you for the link. I found the solution.
Posted 07 Oct, 2022 10:52:29 Top