0

I am having an issue with an AddIn I am building.

I want to get only the ATTACHMENT appended to a mail.

However :

Mail.Attachment also includes the pictures or logos in the mail content.

Knitey
  • 49
  • 6

1 Answers1

0

You need to check out the following Extended MAPI properties, use PropertyAccessor.GetProperty for that:

Take a look at the similar question - Distinguish visible and invisible attachments with Outlook VBA for more informaton and sample code.

Community
  • 1
  • 1
Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45
  • 1
    Some attachments always have the MIME content id, in particular messages from Lotus Notes always have that header. The real test is to check the HTMLBody property and see if any attachments are actually referenced by the img tags. – Dmitry Streblechenko Feb 05 '16 at 12:58