Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: embedded image


Message #1 by Nikos <pappas@c...> on Wed, 13 Feb 2002 09:51:45 +0200
Hi all

I want to embed an image file to an HTML formatted mail using CDONTS

Please send sample code for the image.

I can send HTML mail.

I want just the image part for the HTML string.

Thank you in advance

Best regards

Nikos



Message #2 by "Colin A. Campbell" <soup_campbell@y...> on Wed, 13 Feb 2002 05:49:50 -0900
The function you want to use is CreateMHTMLBody. It works as the sample code

say for IE browsers. Still

struggling on making it work for Netscape browsers. I suspect I need to set

a field to make it work for both.

-Soup-



----- Original Message -----

From: "Nikos" <pappas@c...>

To: "ASP CDO" <asp_cdo@p...>

Sent: Tuesday, February 12, 2002 10:51 PM

Subject: [asp_cdo] embedded image





> Hi all

> I want to embed an image file to an HTML formatted mail using CDONTS

> Please send sample code for the image.

> I can send HTML mail.

> I want just the image part for the HTML string.

> Thank you in advance

> Best regards

> Nikos

>

>










_________________________________________________________



Do You Yahoo!?



Get your free @yahoo.com address at http://mail.yahoo.com







Message #3 by Nikos <pappas@c...> on Wed, 13 Feb 2002 23:44:12 +0200
Thank you for your mail .

If you have some peace of code that works with IE

please post it here.



I am writing the html code like a string without problems but

I have to give a url for the images.

but is there any way to embed an object like this?

( I know its a wrong code but just to show what I am thinking.)

_______________________________________________

<OBJECT >

<EMBED src=3D"Banner1.jpg"  WIDTH=3D550 HEIGHT=3D68 " </EMBED>>

</OBJECT>

_______________________________________________



Regards

Nikos



At 04:49 =EC=EC 13/2/2002, you wrote:

>The function you want to use is CreateMHTMLBody. It works as the sample

 code

>say for IE browsers. Still

>struggling on making it work for Netscape browsers. I suspect I need to set

>a field to make it work for both.

>-Soup-

>

>----- Original Message -----

>From: "Nikos" <pappas@c...>

>To: "ASP CDO" <asp_cdo@p...>

>Sent: Tuesday, February 12, 2002 10:51 PM

>Subject: [asp_cdo] embedded image

>

>

> > Hi all

> > I want to embed an image file to an HTML formatted mail using CDONTS

> > Please send sample code for the image.

> > I can send HTML mail.

> > I want just the image part for the HTML string.

> > Thank you in advance

> > Best regards

> > Nikos

> >

> >




>

>

>

>_________________________________________________________

>

>Do You Yahoo!?

>

>Get your free @yahoo.com address at http://mail.yahoo.com

>

>

>

>






Message #4 by "Colin A. Campbell" <soup_campbell@y...> on Wed, 13 Feb 2002 20:42:03 -0900
It is unclear do you need the HTML or the CDO send message

code.



Here is a snip of HTML



<html>



<head>

<meta name="GENERATOR" content="Microsoft FrontPage 5.0">

<meta name="ProgId" content="FrontPage.Editor.Document">

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<title>HTML to demonstrate imbedding images for sending through MIME</title>

</head>



<body>



<p>Here is some text introducing a gif image </p>

<p>

<img src="http://chart.yahoo.com/c/6m/g/ge.gif" alt="Price / Volume Chart

unavailable" width="512" height="288">

</p>



</body>



</html>



for the CDO code try these links:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html

/_cdosys_imessage_createmhtmlbody.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_cd

o_imessage_interface.asp



-Soup-



----- Original Message -----

From: "Nikos" <pappas@c...>

To: "ASP CDO" <asp_cdo@p...>

Sent: Wednesday, February 13, 2002 12:44 PM

Subject: [asp_cdo] Re: embedded image





Thank you for your mail .

If you have some peace of code that works with IE

please post it here.



I am writing the html code like a string without problems but

I have to give a url for the images.

but is there any way to embed an object like this?

( I know its a wrong code but just to show what I am thinking.)

_______________________________________________

<OBJECT >

<EMBED src="Banner1.jpg"  WIDTH=550 HEIGHT=68 " </EMBED>>

</OBJECT>

_______________________________________________



Regards

Nikos



At 04:49 ìì 13/2/2002, you wrote:

>The function you want to use is CreateMHTMLBody. It works as the sample

code

>say for IE browsers. Still

>struggling on making it work for Netscape browsers. I suspect I need to set

>a field to make it work for both.

>-Soup-

>

>----- Original Message -----

>From: "Nikos" <pappas@c...>

>To: "ASP CDO" <asp_cdo@p...>

>Sent: Tuesday, February 12, 2002 10:51 PM

>Subject: [asp_cdo] embedded image

>

>

> > Hi all

> > I want to embed an image file to an HTML formatted mail using CDONTS

> > Please send sample code for the image.

> > I can send HTML mail.

> > I want just the image part for the HTML string.

> > Thank you in advance

> > Best regards

> > Nikos

> >

> >




>

>

>

>_________________________________________________________

>

>Do You Yahoo!?

>

>Get your free @yahoo.com address at http://mail.yahoo.com

>

>

>

>

















_________________________________________________________



Do You Yahoo!?



Get your free @yahoo.com address at http://mail.yahoo.com







Message #5 by "Cesar SiempreEstoy" <cesar_soporte@h...> on Thu, 14 Feb 2002 13:24:20 +0000
Very Thanks, but I not publish the message for the image, I publish the 

message for download attachment of the Inbox page. I purchase the excelent 

book "ASP 3.0" in spanish for make that but I can´t.

Else if for that information becouse is important for me too.



Thanks Sincerely,

César







>From: "Colin A. Campbell" <soup_campbell@y...>

>Reply-To: "ASP CDO" <asp_cdo@p...>

>To: "ASP CDO" <asp_cdo@p...>

>Subject: [asp_cdo] Re: embedded image

>Date: Wed, 13 Feb 2002 20:42:03 -0900

>

>It is unclear do you need the HTML or the CDO send message

>code.

>

>Here is a snip of HTML

>

><html>

>

><head>

><meta name="GENERATOR" content="Microsoft FrontPage 5.0">

><meta name="ProgId" content="FrontPage.Editor.Document">

><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

><title>HTML to demonstrate imbedding images for sending through 

>MIME</title>

></head>

>

><body>

>

><p>Here is some text introducing a gif image </p>

><p>

><img src="http://chart.yahoo.com/c/6m/g/ge.gif" alt="Price / Volume Chart

>unavailable" width="512" height="288">

></p>

>

></body>

>

></html>

>

>for the CDO code try these links:

>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html

>/_cdosys_imessage_createmhtmlbody.asp

>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_cd

>o_imessage_interface.asp

>

>-Soup-

>

>----- Original Message -----

>From: "Nikos" <pappas@c...>

>To: "ASP CDO" <asp_cdo@p...>

>Sent: Wednesday, February 13, 2002 12:44 PM

>Subject: [asp_cdo] Re: embedded image

>

>

>Thank you for your mail .

>If you have some peace of code that works with IE

>please post it here.

>

>I am writing the html code like a string without problems but

>I have to give a url for the images.

>but is there any way to embed an object like this?

>( I know its a wrong code but just to show what I am thinking.)

>_______________________________________________

><OBJECT >

><EMBED src="Banner1.jpg"  WIDTH=550 HEIGHT=68 " </EMBED>>

></OBJECT>

>_______________________________________________

>

>Regards

>Nikos

>

>At 04:49 ìì 13/2/2002, you wrote:

> >The function you want to use is CreateMHTMLBody. It works as the sample

>code

> >say for IE browsers. Still

> >struggling on making it work for Netscape browsers. I suspect I need to 

>set

> >a field to make it work for both.

> >-Soup-

> >

> >----- Original Message -----

> >From: "Nikos" <pappas@c...>

> >To: "ASP CDO" <asp_cdo@p...>

> >Sent: Tuesday, February 12, 2002 10:51 PM

> >Subject: [asp_cdo] embedded image

> >

> >

> > > Hi all

> > > I want to embed an image file to an HTML formatted mail using CDONTS

> > > Please send sample code for the image.

> > > I can send HTML mail.

> > > I want just the image part for the HTML string.

> > > Thank you in advance

> > > Best regards

> > > Nikos

> > >

> > >




>$subst('Email.Unsub').

> >

> >

> >

> >_________________________________________________________

> >

> >Do You Yahoo!?

> >

> >Get your free @yahoo.com address at http://mail.yahoo.com

> >

> >

> >

> >




>

>




>

>

>

>_________________________________________________________

>

>Do You Yahoo!?

>

>Get your free @yahoo.com address at http://mail.yahoo.com

>

>

>

>












_________________________________________________________________

Con MSN Hotmail súmese al servicio de correo electrónico más grande del 

mundo. http://www.hotmail.com/ES



Message #6 by "Cesar SiempreEstoy" <cesar_soporte@h...> on Thu, 14 Feb 2002 13:26:58 +0000



Thanks Nikos, I try this example.



Sincerely,

César





>From: Nikos <pappas@c...>

>Reply-To: "ASP CDO" <asp_cdo@p...>

>To: "ASP CDO" <asp_cdo@p...>

>Subject: [asp_cdo] Re: embedded image

>Date: Wed, 13 Feb 2002 23:44:12 +0200

>

>Thank you for your mail .

>If you have some peace of code that works with IE

>please post it here.

>

>I am writing the html code like a string without problems but

>I have to give a url for the images.

>but is there any way to embed an object like this?

>( I know its a wrong code but just to show what I am thinking.)

>_______________________________________________

><OBJECT >

><EMBED src="Banner1.jpg"  WIDTH=550 HEIGHT=68 " </EMBED>>

></OBJECT>

>_______________________________________________

>

>Regards

>Nikos

>

>At 04:49 ìì 13/2/2002, you wrote:

>>The function you want to use is CreateMHTMLBody. It works as the sample 

>>code

>>say for IE browsers. Still

>>struggling on making it work for Netscape browsers. I suspect I need to 

>>set

>>a field to make it work for both.

>>-Soup-

>>

>>----- Original Message -----

>>From: "Nikos" <pappas@c...>

>>To: "ASP CDO" <asp_cdo@p...>

>>Sent: Tuesday, February 12, 2002 10:51 PM

>>Subject: [asp_cdo] embedded image

>>

>>

>> > Hi all

>> > I want to embed an image file to an HTML formatted mail using CDONTS

>> > Please send sample code for the image.

>> > I can send HTML mail.

>> > I want just the image part for the HTML string.

>> > Thank you in advance

>> > Best regards

>> > Nikos

>> >

>> >




>>$subst('Email.Unsub').

>>

>>

>>

>>_________________________________________________________

>>

>>Do You Yahoo!?

>>

>>Get your free @yahoo.com address at http://mail.yahoo.com

>>

>>

>>

>>




>

>












_________________________________________________________________

Hable con sus amigos en línea, pruebe MSN Messenger: http://messenger.msn.es



Message #7 by "Cesar SiempreEstoy" <cesar_soporte@h...> on Thu, 14 Feb 2002 13:28:29 +0000
Thanks, I try this example.



Sincerely,

César





>From: "Colin A. Campbell" <soup_campbell@y...>

>Reply-To: "ASP CDO" <asp_cdo@p...>

>To: "ASP CDO" <asp_cdo@p...>

>Subject: [asp_cdo] Re: embedded image

>Date: Wed, 13 Feb 2002 05:49:50 -0900

>

>The function you want to use is CreateMHTMLBody. It works as the sample 

>code

>say for IE browsers. Still

>struggling on making it work for Netscape browsers. I suspect I need to set

>a field to make it work for both.

>-Soup-

>

>----- Original Message -----

>From: "Nikos" <pappas@c...>

>To: "ASP CDO" <asp_cdo@p...>

>Sent: Tuesday, February 12, 2002 10:51 PM

>Subject: [asp_cdo] embedded image

>

>

> > Hi all

> > I want to embed an image file to an HTML formatted mail using CDONTS

> > Please send sample code for the image.

> > I can send HTML mail.

> > I want just the image part for the HTML string.

> > Thank you in advance

> > Best regards

> > Nikos

> >

> >




>

>

>

>_________________________________________________________

>

>Do You Yahoo!?

>

>Get your free @yahoo.com address at http://mail.yahoo.com

>

>

>

>












_________________________________________________________________

Descargue GRATUITAMENTE MSN Explorer en http://explorer.yupimsn.com/intl.asp



Message #8 by "Colin A. Campbell" <soup_campbell@y...> on Thu, 14 Feb 2002 05:30:58 -0900
maybe this is what you need:to get started

<p>

<img src=file://c:/myimage.gif alt="MyImage is not available at this time"

width="512" height="288">

</p>

when you mime this, the file base64 encoded and imbedded in the mail

message.

-Soup-



----- Original Message -----

From: "Cesar SiempreEstoy" <cesar_soporte@h...>

To: "ASP CDO" <asp_cdo@p...>

Sent: Thursday, February 14, 2002 4:24 AM

Subject: [asp_cdo] Re: embedded image





> Very Thanks, but I not publish the message for the image, I publish the

> message for download attachment of the Inbox page. I purchase the excelent

> book "ASP 3.0" in spanish for make that but I can´t.

> Else if for that information becouse is important for me too.

>

> Thanks Sincerely,

> César

>

>

>

> >From: "Colin A. Campbell" <soup_campbell@y...>

> >Reply-To: "ASP CDO" <asp_cdo@p...>

> >To: "ASP CDO" <asp_cdo@p...>

> >Subject: [asp_cdo] Re: embedded image

> >Date: Wed, 13 Feb 2002 20:42:03 -0900

> >

> >It is unclear do you need the HTML or the CDO send message

> >code.

> >

> >Here is a snip of HTML

> >

> ><html>

> >

> ><head>

> ><meta name="GENERATOR" content="Microsoft FrontPage 5.0">

> ><meta name="ProgId" content="FrontPage.Editor.Document">

> ><meta http-equiv="Content-Type" content="text/html;

charset=windows-1252">

> ><title>HTML to demonstrate imbedding images for sending through

> >MIME</title>

> ></head>

> >

> ><body>

> >

> ><p>Here is some text introducing a gif image </p>

> ><p>

> ><img src="http://chart.yahoo.com/c/6m/g/ge.gif" alt="Price / Volume Chart

> >unavailable" width="512" height="288">

> ></p>

> >

> ></body>

> >

> ></html>

> >

> >for the CDO code try these links:

>

>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/htm

l

> >/_cdosys_imessage_createmhtmlbody.asp

>

>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_c

d

> >o_imessage_interface.asp

> >

> >-Soup-

> >

> >----- Original Message -----

> >From: "Nikos" <pappas@c...>

> >To: "ASP CDO" <asp_cdo@p...>

> >Sent: Wednesday, February 13, 2002 12:44 PM

> >Subject: [asp_cdo] Re: embedded image

> >

> >

> >Thank you for your mail .

> >If you have some peace of code that works with IE

> >please post it here.

> >

> >I am writing the html code like a string without problems but

> >I have to give a url for the images.

> >but is there any way to embed an object like this?

> >( I know its a wrong code but just to show what I am thinking.)

> >_______________________________________________

> ><OBJECT >

> ><EMBED src="Banner1.jpg"  WIDTH=550 HEIGHT=68 " </EMBED>>

> ></OBJECT>

> >_______________________________________________

> >

> >Regards

> >Nikos

> >

> >At 04:49 ìì 13/2/2002, you wrote:

> > >The function you want to use is CreateMHTMLBody. It works as the sample

> >code

> > >say for IE browsers. Still

> > >struggling on making it work for Netscape browsers. I suspect I need to

> >set

> > >a field to make it work for both.

> > >-Soup-

> > >

> > >----- Original Message -----

> > >From: "Nikos" <pappas@c...>

> > >To: "ASP CDO" <asp_cdo@p...>

> > >Sent: Tuesday, February 12, 2002 10:51 PM

> > >Subject: [asp_cdo] embedded image

> > >

> > >

> > > > Hi all

> > > > I want to embed an image file to an HTML formatted mail using CDONTS

> > > > Please send sample code for the image.

> > > > I can send HTML mail.

> > > > I want just the image part for the HTML string.

> > > > Thank you in advance

> > > > Best regards

> > > > Nikos

> > > >

> > > >




> >$subst('Email.Unsub').

> > >

> > >

> > >

> > >_________________________________________________________

> > >

> > >Do You Yahoo!?

> > >

> > >Get your free @yahoo.com address at http://mail.yahoo.com

> > >

> > >

> > >

> > >




$subst('Email.Unsub').

> >

> >




> >

> >

> >

> >_________________________________________________________

> >

> >Do You Yahoo!?

> >

> >Get your free @yahoo.com address at http://mail.yahoo.com

> >

> >

> >

> >




>

>

>

>

> _________________________________________________________________

> Con MSN Hotmail súmese al servicio de correo electrónico más grande del

> mundo. http://www.hotmail.com/ES

>

>










_________________________________________________________



Do You Yahoo!?



Get your free @yahoo.com address at http://mail.yahoo.com







Message #9 by "Cesar SiempreEstoy" <cesar_soporte@h...> on Thu, 14 Feb 2002 14:45:47 +0000

Thanks, I see: you connected, please say me how make the code of Inbox for 

the user download the Attachment file (I create a link with the property 

Source of the object collection Attachment but not me found).

Thanks for the Image becouse I solution the problem.

Sincerely,

César

PD: sorry for my english.



>From: "Colin A. Campbell" <soup_campbell@y...>

>Reply-To: "ASP CDO" <asp_cdo@p...>

>To: "ASP CDO" <asp_cdo@p...>

>Subject: [asp_cdo] Re: embedded image

>Date: Thu, 14 Feb 2002 05:30:58 -0900

>

>maybe this is what you need:to get started

><p>

><img src=file://c:/myimage.gif alt="MyImage is not available at this time"

>width="512" height="288">

></p>

>when you mime this, the file base64 encoded and imbedded in the mail

>message.

>-Soup-

>

>----- Original Message -----

>From: "Cesar SiempreEstoy" <cesar_soporte@h...>

>To: "ASP CDO" <asp_cdo@p...>

>Sent: Thursday, February 14, 2002 4:24 AM

>Subject: [asp_cdo] Re: embedded image

>

>

> > Very Thanks, but I not publish the message for the image, I publish the

> > message for download attachment of the Inbox page. I purchase the 

>excelent

> > book "ASP 3.0" in spanish for make that but I can´t.

> > Else if for that information becouse is important for me too.

> >

> > Thanks Sincerely,

> > César

> >

> >

> >

> > >From: "Colin A. Campbell" <soup_campbell@y...>

> > >Reply-To: "ASP CDO" <asp_cdo@p...>

> > >To: "ASP CDO" <asp_cdo@p...>

> > >Subject: [asp_cdo] Re: embedded image

> > >Date: Wed, 13 Feb 2002 20:42:03 -0900

> > >

> > >It is unclear do you need the HTML or the CDO send message

> > >code.

> > >

> > >Here is a snip of HTML

> > >

> > ><html>

> > >

> > ><head>

> > ><meta name="GENERATOR" content="Microsoft FrontPage 5.0">

> > ><meta name="ProgId" content="FrontPage.Editor.Document">

> > ><meta http-equiv="Content-Type" content="text/html;

>charset=windows-1252">

> > ><title>HTML to demonstrate imbedding images for sending through

> > >MIME</title>

> > ></head>

> > >

> > ><body>

> > >

> > ><p>Here is some text introducing a gif image </p>

> > ><p>

> > ><img src="http://chart.yahoo.com/c/6m/g/ge.gif" alt="Price / Volume 

>Chart

> > >unavailable" width="512" height="288">

> > ></p>

> > >

> > ></body>

> > >

> > ></html>

> > >

> > >for the CDO code try these links:

> >

> >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/htm

>l

> > >/_cdosys_imessage_createmhtmlbody.asp

> >

> >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_c

>d

> > >o_imessage_interface.asp

> > >

> > >-Soup-

> > >

> > >----- Original Message -----

> > >From: "Nikos" <pappas@c...>

> > >To: "ASP CDO" <asp_cdo@p...>

> > >Sent: Wednesday, February 13, 2002 12:44 PM

> > >Subject: [asp_cdo] Re: embedded image

> > >

> > >

> > >Thank you for your mail .

> > >If you have some peace of code that works with IE

> > >please post it here.

> > >

> > >I am writing the html code like a string without problems but

> > >I have to give a url for the images.

> > >but is there any way to embed an object like this?

> > >( I know its a wrong code but just to show what I am thinking.)

> > >_______________________________________________

> > ><OBJECT >

> > ><EMBED src="Banner1.jpg"  WIDTH=550 HEIGHT=68 " </EMBED>>

> > ></OBJECT>

> > >_______________________________________________

> > >

> > >Regards

> > >Nikos

> > >

> > >At 04:49 ìì 13/2/2002, you wrote:

> > > >The function you want to use is CreateMHTMLBody. It works as the 

>sample

> > >code

> > > >say for IE browsers. Still

> > > >struggling on making it work for Netscape browsers. I suspect I need 

>to

> > >set

> > > >a field to make it work for both.

> > > >-Soup-

> > > >

> > > >----- Original Message -----

> > > >From: "Nikos" <pappas@c...>

> > > >To: "ASP CDO" <asp_cdo@p...>

> > > >Sent: Tuesday, February 12, 2002 10:51 PM

> > > >Subject: [asp_cdo] embedded image

> > > >

> > > >

> > > > > Hi all

> > > > > I want to embed an image file to an HTML formatted mail using 

>CDONTS

> > > > > Please send sample code for the image.

> > > > > I can send HTML mail.

> > > > > I want just the image part for the HTML string.

> > > > > Thank you in advance

> > > > > Best regards

> > > > > Nikos

> > > > >

> > > > >




> > >$subst('Email.Unsub').

> > > >

> > > >

> > > >

> > > >_________________________________________________________

> > > >

> > > >Do You Yahoo!?

> > > >

> > > >Get your free @yahoo.com address at http://mail.yahoo.com

> > > >

> > > >

> > > >

> > > >




>$subst('Email.Unsub').

> > >

> > >




>$subst('Email.Unsub').

> > >

> > >

> > >

> > >_________________________________________________________

> > >

> > >Do You Yahoo!?

> > >

> > >Get your free @yahoo.com address at http://mail.yahoo.com

> > >

> > >

> > >

> > >




>$subst('Email.Unsub').

> >

> >

> >

> >

> > _________________________________________________________________

> > Con MSN Hotmail súmese al servicio de correo electrónico más grande del

> > mundo. http://www.hotmail.com/ES

> >

> >




>

>

>

>_________________________________________________________

>

>Do You Yahoo!?

>

>Get your free @yahoo.com address at http://mail.yahoo.com

>

>

>

>












_________________________________________________________________

MSN Photos es la manera más sencilla de compartir e imprimir sus fotos: 

http://photos.latam.msn.com/Support/WorldWide.aspx



Message #10 by "Colin A. Campbell" <soup_campbell@y...> on Thu, 14 Feb 2002 05:46:25 -0900
Sorry, I don't work with inbox's. I only publish as email "push"

-Soup-



----- Original Message -----

From: "Cesar SiempreEstoy" <cesar_soporte@h...>

To: "ASP CDO" <asp_cdo@p...>

Sent: Thursday, February 14, 2002 5:45 AM

Subject: [asp_cdo] Re: embedded image





>

> Thanks, I see: you connected, please say me how make the code of Inbox for

> the user download the Attachment file (I create a link with the property

> Source of the object collection Attachment but not me found).

> Thanks for the Image becouse I solution the problem.

> Sincerely,

> César

> PD: sorry for my english.

>

> >From: "Colin A. Campbell" <soup_campbell@y...>

> >Reply-To: "ASP CDO" <asp_cdo@p...>

> >To: "ASP CDO" <asp_cdo@p...>

> >Subject: [asp_cdo] Re: embedded image

> >Date: Thu, 14 Feb 2002 05:30:58 -0900

> >

> >maybe this is what you need:to get started

> ><p>

> ><img src=file://c:/myimage.gif alt="MyImage is not available at this

time"

> >width="512" height="288">

> ></p>

> >when you mime this, the file base64 encoded and imbedded in the mail

> >message.

> >-Soup-

> >

> >----- Original Message -----

> >From: "Cesar SiempreEstoy" <cesar_soporte@h...>

> >To: "ASP CDO" <asp_cdo@p...>

> >Sent: Thursday, February 14, 2002 4:24 AM

> >Subject: [asp_cdo] Re: embedded image

> >

> >

> > > Very Thanks, but I not publish the message for the image, I publish

the

> > > message for download attachment of the Inbox page. I purchase the

> >excelent

> > > book "ASP 3.0" in spanish for make that but I can´t.

> > > Else if for that information becouse is important for me too.

> > >

> > > Thanks Sincerely,

> > > César

> > >

> > >

> > >

> > > >From: "Colin A. Campbell" <soup_campbell@y...>

> > > >Reply-To: "ASP CDO" <asp_cdo@p...>

> > > >To: "ASP CDO" <asp_cdo@p...>

> > > >Subject: [asp_cdo] Re: embedded image

> > > >Date: Wed, 13 Feb 2002 20:42:03 -0900

> > > >

> > > >It is unclear do you need the HTML or the CDO send message

> > > >code.

> > > >

> > > >Here is a snip of HTML

> > > >

> > > ><html>

> > > >

> > > ><head>

> > > ><meta name="GENERATOR" content="Microsoft FrontPage 5.0">

> > > ><meta name="ProgId" content="FrontPage.Editor.Document">

> > > ><meta http-equiv="Content-Type" content="text/html;

> >charset=windows-1252">

> > > ><title>HTML to demonstrate imbedding images for sending through

> > > >MIME</title>

> > > ></head>

> > > >

> > > ><body>

> > > >

> > > ><p>Here is some text introducing a gif image </p>

> > > ><p>

> > > ><img src="http://chart.yahoo.com/c/6m/g/ge.gif" alt="Price / Volume

> >Chart

> > > >unavailable" width="512" height="288">

> > > ></p>

> > > >

> > > ></body>

> > > >

> > > ></html>

> > > >

> > > >for the CDO code try these links:

> > >

> >

>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/htm

> >l

> > > >/_cdosys_imessage_createmhtmlbody.asp

> > >

> >

>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_c

> >d

> > > >o_imessage_interface.asp

> > > >

> > > >-Soup-

> > > >

> > > >----- Original Message -----

> > > >From: "Nikos" <pappas@c...>

> > > >To: "ASP CDO" <asp_cdo@p...>

> > > >Sent: Wednesday, February 13, 2002 12:44 PM

> > > >Subject: [asp_cdo] Re: embedded image

> > > >

> > > >

> > > >Thank you for your mail .

> > > >If you have some peace of code that works with IE

> > > >please post it here.

> > > >

> > > >I am writing the html code like a string without problems but

> > > >I have to give a url for the images.

> > > >but is there any way to embed an object like this?

> > > >( I know its a wrong code but just to show what I am thinking.)

> > > >_______________________________________________

> > > ><OBJECT >

> > > ><EMBED src="Banner1.jpg"  WIDTH=550 HEIGHT=68 " </EMBED>>

> > > ></OBJECT>

> > > >_______________________________________________

> > > >

> > > >Regards

> > > >Nikos

> > > >

> > > >At 04:49 ìì 13/2/2002, you wrote:

> > > > >The function you want to use is CreateMHTMLBody. It works as the

> >sample

> > > >code

> > > > >say for IE browsers. Still

> > > > >struggling on making it work for Netscape browsers. I suspect I

need

> >to

> > > >set

> > > > >a field to make it work for both.

> > > > >-Soup-

> > > > >

> > > > >----- Original Message -----

> > > > >From: "Nikos" <pappas@c...>

> > > > >To: "ASP CDO" <asp_cdo@p...>

> > > > >Sent: Tuesday, February 12, 2002 10:51 PM

> > > > >Subject: [asp_cdo] embedded image

> > > > >

> > > > >

> > > > > > Hi all

> > > > > > I want to embed an image file to an HTML formatted mail using

> >CDONTS

> > > > > > Please send sample code for the image.

> > > > > > I can send HTML mail.

> > > > > > I want just the image part for the HTML string.

> > > > > > Thank you in advance

> > > > > > Best regards

> > > > > > Nikos

> > > > > >

> > > > > >




> > > >$subst('Email.Unsub').

> > > > >

> > > > >

> > > > >

> > > > >_________________________________________________________

> > > > >

> > > > >Do You Yahoo!?

> > > > >

> > > > >Get your free @yahoo.com address at http://mail.yahoo.com

> > > > >

> > > > >

> > > > >

> > > > >




> >$subst('Email.Unsub').

> > > >

> > > >




> >$subst('Email.Unsub').

> > > >

> > > >

> > > >

> > > >_________________________________________________________

> > > >

> > > >Do You Yahoo!?

> > > >

> > > >Get your free @yahoo.com address at http://mail.yahoo.com

> > > >

> > > >

> > > >

> > > >




> >$subst('Email.Unsub').

> > >

> > >

> > >

> > >

> > > _________________________________________________________________

> > > Con MSN Hotmail súmese al servicio de correo electrónico más grande

del

> > > mundo. http://www.hotmail.com/ES

> > >

> > >




$subst('Email.Unsub').

> >

> >

> >

> >_________________________________________________________

> >

> >Do You Yahoo!?

> >

> >Get your free @yahoo.com address at http://mail.yahoo.com

> >

> >

> >

> >




>

>

>

>

> _________________________________________________________________

> MSN Photos es la manera más sencilla de compartir e imprimir sus fotos:

> http://photos.latam.msn.com/Support/WorldWide.aspx

>

>










_________________________________________________________



Do You Yahoo!?



Get your free @yahoo.com address at http://mail.yahoo.com







Message #11 by "Cesar SiempreEstoy" <cesar_soporte@h...> on Sat, 16 Feb 2002 18:24:29 +0000

Ok, no problem.



But, this really important for me:



Do you know how create a link for the user can download the attachment file 

of your message?



Very Thanks for the answear.



Bye.



César.





>From: "Colin A. Campbell" <soup_campbell@y...>

>Reply-To: "ASP CDO" <asp_cdo@p...>

>To: "ASP CDO" <asp_cdo@p...>

>Subject: [asp_cdo] Re: embedded image

>Date: Thu, 14 Feb 2002 05:46:25 -0900

>

>Sorry, I don't work with inbox's. I only publish as email "push"

>-Soup-

>

>----- Original Message -----

>From: "Cesar SiempreEstoy" <cesar_soporte@h...>

>To: "ASP CDO" <asp_cdo@p...>

>Sent: Thursday, February 14, 2002 5:45 AM

>Subject: [asp_cdo] Re: embedded image

>

>

> >

> > Thanks, I see: you connected, please say me how make the code of Inbox 

>for

> > the user download the Attachment file (I create a link with the property

> > Source of the object collection Attachment but not me found).

> > Thanks for the Image becouse I solution the problem.

> > Sincerely,

> > César

> > PD: sorry for my english.

> >

> > >From: "Colin A. Campbell" <soup_campbell@y...>

> > >Reply-To: "ASP CDO" <asp_cdo@p...>

> > >To: "ASP CDO" <asp_cdo@p...>

> > >Subject: [asp_cdo] Re: embedded image

> > >Date: Thu, 14 Feb 2002 05:30:58 -0900

> > >

> > >maybe this is what you need:to get started

> > ><p>

> > ><img src=file://c:/myimage.gif alt="MyImage is not available at this

>time"

> > >width="512" height="288">

> > ></p>

> > >when you mime this, the file base64 encoded and imbedded in the mail

> > >message.

> > >-Soup-

> > >

> > >----- Original Message -----

> > >From: "Cesar SiempreEstoy" <cesar_soporte@h...>

> > >To: "ASP CDO" <asp_cdo@p...>

> > >Sent: Thursday, February 14, 2002 4:24 AM

> > >Subject: [asp_cdo] Re: embedded image

> > >

> > >

> > > > Very Thanks, but I not publish the message for the image, I publish

>the

> > > > message for download attachment of the Inbox page. I purchase the

> > >excelent

> > > > book "ASP 3.0" in spanish for make that but I can´t.

> > > > Else if for that information becouse is important for me too.

> > > >

> > > > Thanks Sincerely,

> > > > César

> > > >

> > > >

> > > >

> > > > >From: "Colin A. Campbell" <soup_campbell@y...>

> > > > >Reply-To: "ASP CDO" <asp_cdo@p...>

> > > > >To: "ASP CDO" <asp_cdo@p...>

> > > > >Subject: [asp_cdo] Re: embedded image

> > > > >Date: Wed, 13 Feb 2002 20:42:03 -0900

> > > > >

> > > > >It is unclear do you need the HTML or the CDO send message

> > > > >code.

> > > > >

> > > > >Here is a snip of HTML

> > > > >

> > > > ><html>

> > > > >

> > > > ><head>

> > > > ><meta name="GENERATOR" content="Microsoft FrontPage 5.0">

> > > > ><meta name="ProgId" content="FrontPage.Editor.Document">

> > > > ><meta http-equiv="Content-Type" content="text/html;

> > >charset=windows-1252">

> > > > ><title>HTML to demonstrate imbedding images for sending through

> > > > >MIME</title>

> > > > ></head>

> > > > >

> > > > ><body>

> > > > >

> > > > ><p>Here is some text introducing a gif image </p>

> > > > ><p>

> > > > ><img src="http://chart.yahoo.com/c/6m/g/ge.gif" alt="Price / Volume

> > >Chart

> > > > >unavailable" width="512" height="288">

> > > > ></p>

> > > > >

> > > > ></body>

> > > > >

> > > > ></html>

> > > > >

> > > > >for the CDO code try these links:

> > > >

> > >

> >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/htm

> > >l

> > > > >/_cdosys_imessage_createmhtmlbody.asp

> > > >

> > >

> >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_c

> > >d

> > > > >o_imessage_interface.asp

> > > > >

> > > > >-Soup-

> > > > >

> > > > >----- Original Message -----

> > > > >From: "Nikos" <pappas@c...>

> > > > >To: "ASP CDO" <asp_cdo@p...>

> > > > >Sent: Wednesday, February 13, 2002 12:44 PM

> > > > >Subject: [asp_cdo] Re: embedded image

> > > > >

> > > > >

> > > > >Thank you for your mail .

> > > > >If you have some peace of code that works with IE

> > > > >please post it here.

> > > > >

> > > > >I am writing the html code like a string without problems but

> > > > >I have to give a url for the images.

> > > > >but is there any way to embed an object like this?

> > > > >( I know its a wrong code but just to show what I am thinking.)

> > > > >_______________________________________________

> > > > ><OBJECT >

> > > > ><EMBED src="Banner1.jpg"  WIDTH=550 HEIGHT=68 " </EMBED>>

> > > > ></OBJECT>

> > > > >_______________________________________________

> > > > >

> > > > >Regards

> > > > >Nikos

> > > > >

> > > > >At 04:49 ìì 13/2/2002, you wrote:

> > > > > >The function you want to use is CreateMHTMLBody. It works as the

> > >sample

> > > > >code

> > > > > >say for IE browsers. Still

> > > > > >struggling on making it work for Netscape browsers. I suspect I

>need

> > >to

> > > > >set

> > > > > >a field to make it work for both.

> > > > > >-Soup-

> > > > > >

> > > > > >----- Original Message -----

> > > > > >From: "Nikos" <pappas@c...>

> > > > > >To: "ASP CDO" <asp_cdo@p...>

> > > > > >Sent: Tuesday, February 12, 2002 10:51 PM

> > > > > >Subject: [asp_cdo] embedded image

> > > > > >

> > > > > >

> > > > > > > Hi all

> > > > > > > I want to embed an image file to an HTML formatted mail using

> > >CDONTS

> > > > > > > Please send sample code for the image.

> > > > > > > I can send HTML mail.

> > > > > > > I want just the image part for the HTML string.

> > > > > > > Thank you in advance

> > > > > > > Best regards

> > > > > > > Nikos

> > > > > > >

> > > > > > >




> > > > >$subst('Email.Unsub').

> > > > > >

> > > > > >

> > > > > >

> > > > > >_________________________________________________________

> > > > > >

> > > > > >Do You Yahoo!?

> > > > > >

> > > > > >Get your free @yahoo.com address at http://mail.yahoo.com

> > > > > >

> > > > > >

> > > > > >

> > > > > >




> > >$subst('Email.Unsub').

> > > > >

> > > > >




> > >$subst('Email.Unsub').

> > > > >

> > > > >

> > > > >

> > > > >_________________________________________________________

> > > > >

> > > > >Do You Yahoo!?

> > > > >

> > > > >Get your free @yahoo.com address at http://mail.yahoo.com

> > > > >

> > > > >

> > > > >

> > > > >




> > >$subst('Email.Unsub').

> > > >

> > > >

> > > >

> > > >

> > > > _________________________________________________________________

> > > > Con MSN Hotmail súmese al servicio de correo electrónico más grande

>del

> > > > mundo. http://www.hotmail.com/ES

> > > >

> > > >




>$subst('Email.Unsub').

> > >

> > >

> > >

> > >_________________________________________________________

> > >

> > >Do You Yahoo!?

> > >

> > >Get your free @yahoo.com address at http://mail.yahoo.com

> > >

> > >

> > >

> > >




>$subst('Email.Unsub').

> >

> >

> >

> >

> > _________________________________________________________________

> > MSN Photos es la manera más sencilla de compartir e imprimir sus fotos:

> > http://photos.latam.msn.com/Support/WorldWide.aspx

> >

> >




>

>

>

>_________________________________________________________

>

>Do You Yahoo!?

>

>Get your free @yahoo.com address at http://mail.yahoo.com

>

>

>

>












_________________________________________________________________

Con MSN Hotmail súmese al servicio de correo electrónico más grande del 

mundo. http://www.hotmail.com/ES



Message #12 by "Colin A. Campbell" <soup_campbell@y...> on Sat, 16 Feb 2002 11:45:32 -0900
There is no "attachment" unless you attach the file to your mail message. If

you

wish to provide a "link" in your mail message that when clicked on will

download

a file then you have to "publish" that file that your link points to. The

"publishing" of

that file is usually done through HTTP or FTP. Once you publish the file

then the

link in your mail message can look like:

ftp://www.yourserver.com/filetopublish

         -or-

http://www.yourserver.com/filetopublish



hope this helps.

-Soup-



----- Original Message -----

From: "Cesar SiempreEstoy" <cesar_soporte@h...>

To: "ASP CDO" <asp_cdo@p...>

Sent: Saturday, February 16, 2002 9:24 AM

Subject: [asp_cdo] Re: embedded image





>

> Ok, no problem.

>

> But, this really important for me:

>

> Do you know how create a link for the user can download the attachment

file

> of your message?

>

> Very Thanks for the answear.

>

> Bye.

>

> César.

>

>

> >From: "Colin A. Campbell" <soup_campbell@y...>

> >Reply-To: "ASP CDO" <asp_cdo@p...>

> >To: "ASP CDO" <asp_cdo@p...>

> >Subject: [asp_cdo] Re: embedded image

> >Date: Thu, 14 Feb 2002 05:46:25 -0900

> >

> >Sorry, I don't work with inbox's. I only publish as email "push"

> >-Soup-

> >

> >----- Original Message -----

> >From: "Cesar SiempreEstoy" <cesar_soporte@h...>

> >To: "ASP CDO" <asp_cdo@p...>

> >Sent: Thursday, February 14, 2002 5:45 AM

> >Subject: [asp_cdo] Re: embedded image

> >

> >

> > >

> > > Thanks, I see: you connected, please say me how make the code of Inbox

> >for

> > > the user download the Attachment file (I create a link with the

property

> > > Source of the object collection Attachment but not me found).

> > > Thanks for the Image becouse I solution the problem.

> > > Sincerely,

> > > César

> > > PD: sorry for my english.

> > >

> > > >From: "Colin A. Campbell" <soup_campbell@y...>

> > > >Reply-To: "ASP CDO" <asp_cdo@p...>

> > > >To: "ASP CDO" <asp_cdo@p...>

> > > >Subject: [asp_cdo] Re: embedded image

> > > >Date: Thu, 14 Feb 2002 05:30:58 -0900

> > > >

> > > >maybe this is what you need:to get started

> > > ><p>

> > > ><img src=file://c:/myimage.gif alt="MyImage is not available at this

> >time"

> > > >width="512" height="288">

> > > ></p>

> > > >when you mime this, the file base64 encoded and imbedded in the mail

> > > >message.

> > > >-Soup-

> > > >

> > > >----- Original Message -----

> > > >From: "Cesar SiempreEstoy" <cesar_soporte@h...>

> > > >To: "ASP CDO" <asp_cdo@p...>

> > > >Sent: Thursday, February 14, 2002 4:24 AM

> > > >Subject: [asp_cdo] Re: embedded image

> > > >

> > > >

> > > > > Very Thanks, but I not publish the message for the image, I

publish

> >the

> > > > > message for download attachment of the Inbox page. I purchase the

> > > >excelent

> > > > > book "ASP 3.0" in spanish for make that but I can´t.

> > > > > Else if for that information becouse is important for me too.

> > > > >

> > > > > Thanks Sincerely,

> > > > > César

> > > > >

> > > > >

> > > > >

> > > > > >From: "Colin A. Campbell" <soup_campbell@y...>

> > > > > >Reply-To: "ASP CDO" <asp_cdo@p...>

> > > > > >To: "ASP CDO" <asp_cdo@p...>

> > > > > >Subject: [asp_cdo] Re: embedded image

> > > > > >Date: Wed, 13 Feb 2002 20:42:03 -0900

> > > > > >

> > > > > >It is unclear do you need the HTML or the CDO send message

> > > > > >code.

> > > > > >

> > > > > >Here is a snip of HTML

> > > > > >

> > > > > ><html>

> > > > > >

> > > > > ><head>

> > > > > ><meta name="GENERATOR" content="Microsoft FrontPage 5.0">

> > > > > ><meta name="ProgId" content="FrontPage.Editor.Document">

> > > > > ><meta http-equiv="Content-Type" content="text/html;

> > > >charset=windows-1252">

> > > > > ><title>HTML to demonstrate imbedding images for sending through

> > > > > >MIME</title>

> > > > > ></head>

> > > > > >

> > > > > ><body>

> > > > > >

> > > > > ><p>Here is some text introducing a gif image </p>

> > > > > ><p>

> > > > > ><img src="http://chart.yahoo.com/c/6m/g/ge.gif" alt="Price /

Volume

> > > >Chart

> > > > > >unavailable" width="512" height="288">

> > > > > ></p>

> > > > > >

> > > > > ></body>

> > > > > >

> > > > > ></html>

> > > > > >

> > > > > >for the CDO code try these links:

> > > > >

> > > >

> >

>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/htm

> > > >l

> > > > > >/_cdosys_imessage_createmhtmlbody.asp

> > > > >

> > > >

> >

>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_c

> > > >d

> > > > > >o_imessage_interface.asp

> > > > > >

> > > > > >-Soup-

> > > > > >

> > > > > >----- Original Message -----

> > > > > >From: "Nikos" <pappas@c...>

> > > > > >To: "ASP CDO" <asp_cdo@p...>

> > > > > >Sent: Wednesday, February 13, 2002 12:44 PM

> > > > > >Subject: [asp_cdo] Re: embedded image

> > > > > >

> > > > > >

> > > > > >Thank you for your mail .

> > > > > >If you have some peace of code that works with IE

> > > > > >please post it here.

> > > > > >

> > > > > >I am writing the html code like a string without problems but

> > > > > >I have to give a url for the images.

> > > > > >but is there any way to embed an object like this?

> > > > > >( I know its a wrong code but just to show what I am thinking.)

> > > > > >_______________________________________________

> > > > > ><OBJECT >

> > > > > ><EMBED src="Banner1.jpg"  WIDTH=550 HEIGHT=68 " </EMBED>>

> > > > > ></OBJECT>

> > > > > >_______________________________________________

> > > > > >

> > > > > >Regards

> > > > > >Nikos

> > > > > >

> > > > > >At 04:49 ìì 13/2/2002, you wrote:

> > > > > > >The function you want to use is CreateMHTMLBody. It works as

the

> > > >sample

> > > > > >code

> > > > > > >say for IE browsers. Still

> > > > > > >struggling on making it work for Netscape browsers. I suspect I

> >need

> > > >to

> > > > > >set

> > > > > > >a field to make it work for both.

> > > > > > >-Soup-

> > > > > > >

> > > > > > >----- Original Message -----

> > > > > > >From: "Nikos" <pappas@c...>

> > > > > > >To: "ASP CDO" <asp_cdo@p...>

> > > > > > >Sent: Tuesday, February 12, 2002 10:51 PM

> > > > > > >Subject: [asp_cdo] embedded image

> > > > > > >

> > > > > > >

> > > > > > > > Hi all

> > > > > > > > I want to embed an image file to an HTML formatted mail

using

> > > >CDONTS

> > > > > > > > Please send sample code for the image.

> > > > > > > > I can send HTML mail.

> > > > > > > > I want just the image part for the HTML string.

> > > > > > > > Thank you in advance

> > > > > > > > Best regards

> > > > > > > > Nikos

> > > > > > > >

> > > > > > > >

> > > > > > > > ---

> > > > > > > > Change your mail options at http://p2p.wrox.com/manager.asp

or


> > > > > >$subst('Email.Unsub').

> > > > > > >

> > > > > > >

> > > > > > >

> > > > > > >_________________________________________________________

> > > > > > >

> > > > > > >Do You Yahoo!?

> > > > > > >

> > > > > > >Get your free @yahoo.com address at http://mail.yahoo.com

> > > > > > >

> > > > > > >

> > > > > > >

> > > > > > >




> > > >$subst('Email.Unsub').

> > > > > >

> > > > > >




> > > >$subst('Email.Unsub').

> > > > > >

> > > > > >

> > > > > >

> > > > > >_________________________________________________________

> > > > > >

> > > > > >Do You Yahoo!?

> > > > > >

> > > > > >Get your free @yahoo.com address at http://mail.yahoo.com

> > > > > >

> > > > > >

> > > > > >

> > > > > >




> > > >$subst('Email.Unsub').

> > > > >

> > > > >

> > > > >

> > > > >

> > > > > _________________________________________________________________

> > > > > Con MSN Hotmail súmese al servicio de correo electrónico más

grande

> >del

> > > > > mundo. http://www.hotmail.com/ES

> > > > >

> > > > >




> >$subst('Email.Unsub').

> > > >

> > > >

> > > >

> > > >_________________________________________________________

> > > >

> > > >Do You Yahoo!?

> > > >

> > > >Get your free @yahoo.com address at http://mail.yahoo.com

> > > >

> > > >

> > > >

> > > >




> >$subst('Email.Unsub').

> > >

> > >

> > >

> > >

> > > _________________________________________________________________

> > > MSN Photos es la manera más sencilla de compartir e imprimir sus

fotos:

> > > http://photos.latam.msn.com/Support/WorldWide.aspx

> > >

> > >




$subst('Email.Unsub').

> >

> >

> >

> >_________________________________________________________

> >

> >Do You Yahoo!?

> >

> >Get your free @yahoo.com address at http://mail.yahoo.com

> >

> >

> >

> >




>

>

>

>

> _________________________________________________________________

> Con MSN Hotmail súmese al servicio de correo electrónico más grande del

> mundo. http://www.hotmail.com/ES

>

>










_________________________________________________________



Do You Yahoo!?



Get your free @yahoo.com address at http://mail.yahoo.com








  Return to Index