B
Bill
I would like to write a VBA tool to strip attachments from emails in Sent
Items. The goal is to clean up mailboxes of users who email many large
attachments (a policy is eventually on its way). However, I cannot seem to
differentiate between an "external" attachment like a Word document and a
small bitmap image (e.g., screen capture) embedded into the body of the
email for illustrative purposes.
I would like to leave embedded images intact and strip what I'm calling
"true" attachments.
Is there any way to differentiate between them?
My code looks at objItem.Attachments.Count and then calls Remove( ).
But the first message it fired on as I tested had only a small embedded
graphic.
I could test for items with Size > (some-number) but that's rather
unsatisfying.
Thanks for any ideas,
Bill Le May
Items. The goal is to clean up mailboxes of users who email many large
attachments (a policy is eventually on its way). However, I cannot seem to
differentiate between an "external" attachment like a Word document and a
small bitmap image (e.g., screen capture) embedded into the body of the
email for illustrative purposes.
I would like to leave embedded images intact and strip what I'm calling
"true" attachments.
Is there any way to differentiate between them?
My code looks at objItem.Attachments.Count and then calls Remove( ).
But the first message it fired on as I tested had only a small embedded
graphic.
I could test for items with Size > (some-number) but that's rather
unsatisfying.
Thanks for any ideas,
Bill Le May