Hello,
I'm trying to identify an email's attachment as "inbound" in the mail body, e.g. as logo or the like, or as "not inbound" attached to the email.
The inbound attachments are not shown in the OL-attachment listing but are part of "mailitem.attachments". The not inbound attachments are the ones listed in the OL-Attachment listing.
With the following piece of code (VB.net) the attachments are saved without the check.
...
For i = 1 To intAttachments
objNewMailItem.Attachments.Item(i).SaveAsFile(strPath & .Attachments.Item(i).FileName)
Next i
...
Could you please give me advise how one could hanlde it?
Regards,
Andreas
I'm trying to identify an email's attachment as "inbound" in the mail body, e.g. as logo or the like, or as "not inbound" attached to the email.
The inbound attachments are not shown in the OL-attachment listing but are part of "mailitem.attachments". The not inbound attachments are the ones listed in the OL-Attachment listing.
With the following piece of code (VB.net) the attachments are saved without the check.
...
For i = 1 To intAttachments
objNewMailItem.Attachments.Item(i).SaveAsFile(strPath & .Attachments.Item(i).FileName)
Next i
...
Could you please give me advise how one could hanlde it?
Regards,
Andreas