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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

email script

Status
Not open for further replies.

mobius1983

Technical User
Jul 7, 2002
45
GB
Hi everyone,

I have a script that sends an html email using cdo. My only problem is that the html code has an <img> tag that shows the company logo. This looks ok when i output the page in ie... but when it is recieved as an email the picture appears as a broken link.

Does anyone know of a different way I have to include a picture.

Thanks for your help
Nick.
 

try something like:


CDO is your object


CDO.AttachURL Server.MapPath(&quot;Image.gif&quot;)

sBody = sBody & &quot;<IMG SRC =&quot;&quot;Image.gif&quot;&quot;>&quot;

hth
simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top