|
 |
asp_cdo thread: CreateMHTMLBody does not encode image
Message #1 by Rif'at Fajrianto <rifat@3...> on Mon, 17 Feb 2003 09:31:00 +1100
|
|
Hello everyone,
My problem is the CreateMHTMLBody in CDO does not encode an IMG element in
the source html into the email.
On other machine, my code would change the SRC property of IMG element to
something like : cid:000401c2d230$aa2770a6$_CDOSYS2.0
While in this one machine, the very same code would produce MHTML with the
SRC that would still look like : c:\img\logo.gif
The server is Win2K server with IIS 5 installed.
Anyone has this problem before? or knows the solution to it? any leads would
be much appreciated. Thank You.
Message #2 by "Siegfried Weber" <sweber@c...> on Mon, 17 Feb 2003 03:50:29 +0100
|
|
Do both machines have *exactly* the same software installed? Both are on
Windows 2000 with the same service pack? Any Windows XP or Windows
Server 2003 in the mix? Does by any chance one of the machines has
Exchange 2000/2003 (or its admin console) or Outlook 2002 installed?
<Cheers:Siegfried runat=3D"server" />
Development Lead,
CDOLive LLC - The Microsoft Messaging and Collaboration Application
Experts
http://www.cdolive.com
> -----Original Message-----
> From: Rif'at Fajrianto [mailto:rifat@3...]
> Sent: Sunday, February 16, 2003 11:31 PM
> To: ASP CDO
> Subject: [asp_cdo] CreateMHTMLBody does not encode image
>
>
> Hello everyone,
>
> My problem is the CreateMHTMLBody in CDO does not encode an
> IMG element in the source html into the email. On other
> machine, my code would change the SRC property of IMG element
> to something like : cid:000401c2d230$aa2770a6$_CDOSYS2.0
> While in this one machine, the very same code would produce
> MHTML with the SRC that would still look like : c:\img\logo.gif
>
> The server is Win2K server with IIS 5 installed.
>
> Anyone has this problem before? or knows the solution to it?
> any leads would be much appreciated. Thank You.
>
>
>
>
>
Message #3 by CASSIANO Luiz F CONFAB <TERLFR@c...> on Mon, 17 Feb 2003 08:41:07 -0300
|
|
I had this problem once, in my case I solved it passing the server path (
http://www.teste.com/image.jpg )
instead of using the physical path ( ../img/logo.gif).
See you,
-----Original Message-----
From: Rif'at Fajrianto [mailto:rifat@3...]
Sent: domingo, 16 de fevereiro de 2003 19:31
To: ASP CDO
Subject: [asp_cdo] CreateMHTMLBody does not encode image
Hello everyone,
My problem is the CreateMHTMLBody in CDO does not encode an IMG element in
the source html into the email.
On other machine, my code would change the SRC property of IMG element to
something like : cid:000401c2d230$aa2770a6$_CDOSYS2.0
While in this one machine, the very same code would produce MHTML with the
SRC that would still look like : c:\img\logo.gif
The server is Win2K server with IIS 5 installed.
Anyone has this problem before? or knows the solution to it? any leads would
be much appreciated. Thank You.
|
|
 |