Distinguish visible and invisible attachments with Outlook VBA
As I can test so far, an embedded attachment always have a MIME content ID, regardless whether it appears in the mail body. So the solution is to check whether it has a content ID. Here is an example code that counts the visible attachments: Sub ShowVisibleAttachmentCount() Const PR_ATTACH_CONTENT_ID As String = “http://schemas.microsoft.com/mapi/proptag/0x3712001F” Const PR_ATTACHMENT_HIDDEN … Read more