Difference between Regular Attachments and Signature Attachments

  • Thread starter QW5kcmV3
  • Start date Views 2,396
Status
Not open for further replies.
Q

QW5kcmV3

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,
 
D

Dmitry Streblechenko

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)

-

"Andrew" <Andrew> wrote in message

news:9D99CA52-B509-471E-9ED4-6EE93F687190@microsoft.com...
> 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,
 
Q

QW5kcmV3

Re: Difference between Regular Attachments and Signature Attachmen

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)
>

>

>

> -
> "Andrew" <Andrew> wrote in message
> news:9D99CA52-B509-471E-9ED4-6EE93F687190@microsoft.com...
> > 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,


>
 
D

Dmitry Streblechenko

Re: 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)

-

"Andrew" <Andrew> wrote in message

news:9D20871D-B210-40D6-883E-BC51B37E6031@microsoft.com...
> 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)
> >

> >

> >

> > -
> > "Andrew" <Andrew> wrote in message
> > news:9D99CA52-B509-471E-9ED4-6EE93F687190@microsoft.com...
> > > 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,

>

>
>>
 
Status
Not open for further replies.
Top