Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDONT image

Status
Not open for further replies.

cjkenworthy

Programmer
Sep 13, 2002
237
GB
How do i put a GIF image into my CDONT HTML code. If i put in the HTML reference, obviously the image won't appear if it points to a file on a local server. I can point to a http request for a picture but the picture isn't on a public server.

I can attach an image to the file using server.mappath, - but this doesn't appear in the body of my email.

any help?
 
trusting that your HTML formatted email is coded correctly


HTML = HTML & &quot;<IMG SRC=&quot;&quot;
[tt]
&quot;The only ideas that will work for you are the ones you put to work.&quot;
[/tt]

banana.gif
rockband.gif
banana.gif

 
thanks,

what i actually wanted was to make the image standalone, in the email without fetching it from elsewhere.

i.e. attach it and put some code in the email to make the attached image appear in the body of the text.



 
Correct, it will attach, not display. I tried to get the MHT file working with CDONTS but it didn't work at all for me. Your best bet is to use FQDNs in your links.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top