Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 01:41 PM
dave
Guest
 
Posts: n/a
Default sending image thru email + CDO

Hi
I'm using CDO message to send email thru asp code.
Below is sample code...

body = body & "<tr><td colspan=2><img
src=images/contacts_5.jpg></td></tr>"

I'm just confused why its not showing images in email
body? It just shows red cross mark in mail body...

Any help would be appreciated...
Thanx

  #2  
Old July 19th, 2005, 01:41 PM
dlbjr
Guest
 
Posts: n/a
Default Re: sending image thru email + CDO

Source must be something like this:

<IMG SRC='http://your_domain/site_name/images/contacts_5.jpg'>

Remember it's an email the full path is unknown.

'from dlbjr

'Unambit from meager knowledge of inane others,engender uncharted sagacity.


  #3  
Old July 19th, 2005, 01:41 PM
Aaron [SQL Server MVP]
Guest
 
Posts: n/a
Default Re: sending image thru email + CDO

(a) the e-mail client has no idea where images/contacts5.jpg is. Try
putting that image tag in a file on your desktop. Do you think the browser
can read your mind, and know that you meant
http://www.yoursite.com/images/contacts5.jpg? Of course not. You have to
tell it where to find the image.

(b) many e-mail clients show red x's because the default setting is to NOT
download images from the web, because these are often used to transmit
confirmation back to sniffers. (And further still, many people have
disabled HTML e-mail altogether ... e.g. me.)

(c) to avoid the whole web bug issue see http://www.aspfaq.com/2474 for
instructions on embedding an image into an e-mail, rather than using links.

--
http://www.aspfaq.com/
(Reverse address to reply.)




"dave" <anonymous@discussions.microsoft.com> wrote in message
news:1940d01c44cf0$cc40fe50$a301280a@phx.gbl...[color=blue]
> Hi
> I'm using CDO message to send email thru asp code.
> Below is sample code...
>
> body = body & "<tr><td colspan=2><img
> src=images/contacts_5.jpg></td></tr>"
>
> I'm just confused why its not showing images in email
> body? It just shows red cross mark in mail body...
>
> Any help would be appreciated...
> Thanx
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles