hi again,
now I want to send a picture in my e-mails that are send using asp code
first I create the mail Object: Set objMail =
Server.CreateObject("CDONTS.NewMail")
After I fill a variable with the html code that will be the mail
txtMailBody = "<html>"
txtMailBody = txtMailBody & "<center>Hi <BR> This is a test"
txtMailBody = txtMailBody & "<center><img src='CommAd.jpg'>"
finally I send the mail using the following code:
objMail.Body = txtMailBody
objMail.Send
----------------------------------------------------------------
The problem is that the picture does not show on the users screens
should I send the picutre as attachement to?? if yes how could this be
done..?
or is there is specific code to use???
Please note that I could have used:
txtMailBody = txtMailBody & "<center><img
src='
http://mydomain.com/pics/CommAd.jpg'>"
I tried it and it worked fine... but I don't want this method. All I want is
to simply let the picture shows without "hosting" it somewhere on the web!!!
thanks