Outlook blocking embedded images. Is this a new feature?

J

Jason

I struggled with the subject because this is not the Normal image blocking
issue I've seen before???

I have developed an Outlook addin which has been running for many years and
is compatible with Office 2003 and 2007. It provides mass mailing
capabilities within our company.

It uses SMTP and attachs all images to the mail when the message is sent.
What used to appear was an email with the images embedded into it, all images
were locally referenced. What appears to the Employee now is an image box
with a red X in it. The image has been blocked but I'm stuggling why as it
was embedded into the email.

the tag that is left in the page looks something like:

<IMG height=74 src="CA7EOBZL." width=720>

The name of the image was image001.jpg and when sent the image tag looked
like:

<IMG height=74 src="image001.jpg" width=720>

which is how it used to appear. Also what's strange is if I watch the
message appear in the inbox it shows the attachment icon for a brief second
and then it's gone. I'm guessing Outlook saw an image attached that wasn't
being used (wrong name in the doc) and simply removed it, I'm totally
guessing here??

There is no evidence that there was ever an image attached to the email when
looking at the document options:

Received: from xxxmsx335.xx.xxxxx.com (xx.xx.xxx.xx) by
xxxmsx002.xxx.corp.xxxxx.com (xx.xx.xxx.xxx) with Microsoft SMTP Server id
8.1.240.5; Mon, 13 Oct 2008 16:31:07 -0700
Received: from xxxmsx334-2.ch.xxxxx.com ([xx.x.xxx.xx]) by
xxxmsx335.xx.xxxxx.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 13 Oct
2008 16:31:06 -0700
Received: from xxxmga001.xx.xxxxx.com ([xx.x.xx.xx]) by
xxxmsx334-2.xx.xxxxx.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 13 Oct
2008 16:31:03 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.33,405,1220252400";
d="png'150?scan'150,208,145,150,217";a="59385124"
Received: from xxxtmprd02.xx.xxxxx.com (HELO xxxtmprd02) ([xx.xx.xxx.xx]) by
xxxmga001.xx.xxxxx.com with ESMTP; 13 Oct 2008 16:29:06 -0700
Thread-Topic: TESTMAIL:Image Test
thread-index: Ackti3uqOoIYxSZ3RW+xHX7yFRE/DA==
Reply-To: "xxxxxxx, Jason" <[email protected]>
From: "xxxxxxx, Jason" <[email protected]>
To:
BCC:
Subject: TESTMAIL:Image Test
Date: Mon, 13 Oct 2008 16:29:05 -0700
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_NextPart_000_0006_01C92D50.CF76C1F0"
X-Mailer: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757
Return-Path: (e-mail address removed)
X-OriginalArrivalTime: 13 Oct 2008 23:31:03.0839 (UTC)
FILETIME=[C22FDAF0:01C92D8B]

Sorry for sterilizing the text.

So, I'm hoping you can help me understand why outlook is deciding to remove
the image (which appears to physically delete it from the store too) and also
how I can Send an email with attached images as I have done up till now???

Any help would be greatly appreciated..

Thanks
Jason
 
K

Ken Slovak - [MVP - Outlook]

When you say it uses SMTP do you mean you're not using the Outlook object
model to attach the images?

Normally you attach the image as an embedded image as olEmbeddedItem, the
image is added to the Attachments collection and in the outgoing email any
IMG src= tags are replaced with IMG src="cid: references to the image
attachment.

If that's not happening that's why you see that image placeholder.




Jason said:
I struggled with the subject because this is not the Normal image blocking
issue I've seen before???

I have developed an Outlook addin which has been running for many years
and
is compatible with Office 2003 and 2007. It provides mass mailing
capabilities within our company.

It uses SMTP and attachs all images to the mail when the message is sent.
What used to appear was an email with the images embedded into it, all
images
were locally referenced. What appears to the Employee now is an image box
with a red X in it. The image has been blocked but I'm stuggling why as it
was embedded into the email.

the tag that is left in the page looks something like:

<IMG height=74 src="CA7EOBZL." width=720>

The name of the image was image001.jpg and when sent the image tag looked
like:

<IMG height=74 src="image001.jpg" width=720>

which is how it used to appear. Also what's strange is if I watch the
message appear in the inbox it shows the attachment icon for a brief
second
and then it's gone. I'm guessing Outlook saw an image attached that wasn't
being used (wrong name in the doc) and simply removed it, I'm totally
guessing here??

There is no evidence that there was ever an image attached to the email
when
looking at the document options:

Received: from xxxmsx335.xx.xxxxx.com (xx.xx.xxx.xx) by
xxxmsx002.xxx.corp.xxxxx.com (xx.xx.xxx.xxx) with Microsoft SMTP Server id
8.1.240.5; Mon, 13 Oct 2008 16:31:07 -0700
Received: from xxxmsx334-2.ch.xxxxx.com ([xx.x.xxx.xx]) by
xxxmsx335.xx.xxxxx.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 13 Oct
2008 16:31:06 -0700
Received: from xxxmga001.xx.xxxxx.com ([xx.x.xx.xx]) by
xxxmsx334-2.xx.xxxxx.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 13
Oct
2008 16:31:03 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.33,405,1220252400";
d="png'150?scan'150,208,145,150,217";a="59385124"
Received: from xxxtmprd02.xx.xxxxx.com (HELO xxxtmprd02) ([xx.xx.xxx.xx])
by
xxxmga001.xx.xxxxx.com with ESMTP; 13 Oct 2008 16:29:06 -0700
Thread-Topic: TESTMAIL:Image Test
thread-index: Ackti3uqOoIYxSZ3RW+xHX7yFRE/DA==
Reply-To: "xxxxxxx, Jason" <[email protected]>
From: "xxxxxxx, Jason" <[email protected]>
To:
BCC:
Subject: TESTMAIL:Image Test
Date: Mon, 13 Oct 2008 16:29:05 -0700
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_NextPart_000_0006_01C92D50.CF76C1F0"
X-Mailer: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757
Return-Path: (e-mail address removed)
X-OriginalArrivalTime: 13 Oct 2008 23:31:03.0839 (UTC)
FILETIME=[C22FDAF0:01C92D8B]

Sorry for sterilizing the text.

So, I'm hoping you can help me understand why outlook is deciding to
remove
the image (which appears to physically delete it from the store too) and
also
how I can Send an email with attached images as I have done up till now???

Any help would be greatly appreciated..

Thanks
Jason
 
J

Jason

Ken ,

Thanks for your response. I'm actually sending email using CDOSys and
embedding the images. So, when Exchange receives it it's coming from an SMTP
Server. This has been functioning for some time without issue.

What I found yesterday after submitting this is that when the image is a
Jpeg and the name is image001.jpg (standard exported Word Document Image
naming convention) the embedded image gets removed. If I rename the image to
say header.jpg the image appears as expected... Is there some goofy thing
going on with the name of the image???

Jason

Ken Slovak - said:
When you say it uses SMTP do you mean you're not using the Outlook object
model to attach the images?

Normally you attach the image as an embedded image as olEmbeddedItem, the
image is added to the Attachments collection and in the outgoing email any
IMG src= tags are replaced with IMG src="cid: references to the image
attachment.

If that's not happening that's why you see that image placeholder.




Jason said:
I struggled with the subject because this is not the Normal image blocking
issue I've seen before???

I have developed an Outlook addin which has been running for many years
and
is compatible with Office 2003 and 2007. It provides mass mailing
capabilities within our company.

It uses SMTP and attachs all images to the mail when the message is sent.
What used to appear was an email with the images embedded into it, all
images
were locally referenced. What appears to the Employee now is an image box
with a red X in it. The image has been blocked but I'm stuggling why as it
was embedded into the email.

the tag that is left in the page looks something like:

<IMG height=74 src="CA7EOBZL." width=720>

The name of the image was image001.jpg and when sent the image tag looked
like:

<IMG height=74 src="image001.jpg" width=720>

which is how it used to appear. Also what's strange is if I watch the
message appear in the inbox it shows the attachment icon for a brief
second
and then it's gone. I'm guessing Outlook saw an image attached that wasn't
being used (wrong name in the doc) and simply removed it, I'm totally
guessing here??

There is no evidence that there was ever an image attached to the email
when
looking at the document options:

Received: from xxxmsx335.xx.xxxxx.com (xx.xx.xxx.xx) by
xxxmsx002.xxx.corp.xxxxx.com (xx.xx.xxx.xxx) with Microsoft SMTP Server id
8.1.240.5; Mon, 13 Oct 2008 16:31:07 -0700
Received: from xxxmsx334-2.ch.xxxxx.com ([xx.x.xxx.xx]) by
xxxmsx335.xx.xxxxx.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 13 Oct
2008 16:31:06 -0700
Received: from xxxmga001.xx.xxxxx.com ([xx.x.xx.xx]) by
xxxmsx334-2.xx.xxxxx.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 13
Oct
2008 16:31:03 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.33,405,1220252400";
d="png'150?scan'150,208,145,150,217";a="59385124"
Received: from xxxtmprd02.xx.xxxxx.com (HELO xxxtmprd02) ([xx.xx.xxx.xx])
by
xxxmga001.xx.xxxxx.com with ESMTP; 13 Oct 2008 16:29:06 -0700
Thread-Topic: TESTMAIL:Image Test
thread-index: Ackti3uqOoIYxSZ3RW+xHX7yFRE/DA==
Reply-To: "xxxxxxx, Jason" <[email protected]>
From: "xxxxxxx, Jason" <[email protected]>
To:
BCC:
Subject: TESTMAIL:Image Test
Date: Mon, 13 Oct 2008 16:29:05 -0700
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_NextPart_000_0006_01C92D50.CF76C1F0"
X-Mailer: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757
Return-Path: (e-mail address removed)
X-OriginalArrivalTime: 13 Oct 2008 23:31:03.0839 (UTC)
FILETIME=[C22FDAF0:01C92D8B]

Sorry for sterilizing the text.

So, I'm hoping you can help me understand why outlook is deciding to
remove
the image (which appears to physically delete it from the store too) and
also
how I can Send an email with attached images as I have done up till now???

Any help would be greatly appreciated..

Thanks
Jason
 
K

Ken Slovak - [MVP - Outlook]

I have no idea what goes on with CDOSys. If this was using the Outlook
object model I could help you. In this case you'd probably be best off
posting in one of the Exchange groups since it sounds like that's where
things are being changed. You can try the
microsoft.public.exchange.development group where you might get a better
answer.
 
J

Jialiang Ge [MSFT]

Hello Jason,

As Ken suggested, this CDOSys issue is better posted to
microsoft.public.exchange.development. Would you please try it? On my side,
I have forwarded this question to the CDO team and I will try to bring back
their explanation and suggestions.

Best Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top