Difference between Regular Attachments and Signature Attachments

  • Thread starter Thread starter Andrew
  • Start date Start date
A

Andrew

Hello folks,

I have an Outlook add-in Developed in Visual Studio 2008, written in VB.NET
for Outlook 2003 and 2007. A small part of its functionality is to post
emails from Outlook to a webform which currently works well in both versions.
We've however come across an issue with the attachments.

Currently, when the click the custom button to post the email. I save all
the attachments to a file and after the message is sent, I attempt the send
the attachments also. The issue is, signatures with images are being stored
as attachments also. Is there anyway to distinguish between the two types of
attachments?

Regards,
 
Do you need to strip out all the image attachments or only those used in
signatures (there is really no difference between the two)?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
Hey,

Well, we don't want to upload any signature images. So I would like to know
if there's a way to detect them so that, they can be excluded from the
attachment upload.

Thanks,
 
No, an image is an image. The only difference is how it was added to a
message.
You can look at the HTML body and see if an image is within a _MailAutoSig
span, but that is far from being reliable.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
Back
Top