|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
|
E-mailing pics
I have an e-mail function on a webserver, mainly used as a contact form, using the windows, newmail object, and ASP.
In this instance I need it to send an image. I can send it as an attachment, but I need the image to be visible in the body of the mail. Like the pr0n spammers use, when the mail is opened you see the imgae, but I can't seem to figure it out! (I have the images on the server, just need to include them in the mail body) Any Ideas. I also would like to send a word as a link to a page, and not have to write the link. I'd like to put in "More Details" as the link and not http://www.address.com/pagename.htm |
|
|
|
|
|
#2 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
You have to specifiy the mesage to be HTML, rather than a regular text email.
What email client are you using?
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
|
|
|
|
|
|
#3 |
|
Member (7 bit)
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
|
I'm creating the message in asp using....
function SendMail( sSubject, sBody, sFromName, sFromEmail, sToName, sToEmail, sReplyTo ) dim objMail on error resume next SendMail = false set objMail = Server.CreateObject("CDONTS.NewMail") objMail.To = sToName & " <" & sToEmail & ">" objMail.From = sFromName & " <" & sFromEmail & ">" objMail.Body = sBody objMail.Subject = sSubject ' Send it objMail.Send() set objMail = nothing if Err = 0 then SendMail = true end if end function I recieve the email in Outlook. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|