View Single Post
  #4  
Old March 24th 09, 04:41 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Difference between Regular Attachments and Signature Attachmen

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
-
"Andrew" wrote in message
...
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,

"Dmitry Streblechenko" wrote:

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
-
"Andrew" wrote in message
...
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,






Ads