Attachment count?

  • Thread starter Thread starter Dennis Brown
  • Start date Start date
D

Dennis Brown

Hi,
When I get the attachments collection count, it gives me the total number of attachments in the attachment field, and the attachments within the message body (i.e. link graphics (.gif files), etc.).
Any way to determine the count within the attachment field-only?
For example, it might say there are 3 attachments, but only one is in the attachment field, and the other two are link graphics or signature graphics.
I tried using Type, but they all return as the same type.
Any help would be greatly appreciated!
 
You'll have to use CDO and look at the PR_ATTACH_FILENAME property in the
Attachment.Fields collection. The value will be empty for the embedded
images.
 
Back
Top