Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Re: display selected image in the body


Message #1 by alex_williams@b... on Tue, 13 Feb 2001 17:48:57
Build your HTML strings and pass the image value as a variable to the Html 

page 

eg 

Varimage = Request.form("image")



strHTML = "<html>"

strHTML = strHTML & "<HEAD>"

strHTML = strHTML & "<TITLE></TITLE>"

strHTML = strHTML & "</HEAD>"

strHTML = strHTML & "<BODY>"

strHTML = strHTML & "<IMG SRC = "

strHTML = strHTML & varimage

strHTML = strHTML & ">"

strHTML = strHTML & "</BODY>"

strHTML = strHTML & "</HTML>"



This is assuming your varimage is a physical path



Good Luck!



> From sree ramulu [SMTP:sreeramulu@o...]

> 

> Hi, 

> 

>       I want to display selected image in the body of matter while 

sending

> e-mail through CDONTS object.  Suggest me how to do it.  Please try to 

> send me the related code. 

> 

>  Thanking you. 

> 

>                                                Sreeramulu 


  Return to Index