Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-27-2004, 05:39 AM   #1
Member (7 bit)
 
chris1977uk's Avatar
 
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
chris1977uk is offline   Reply With Quote
Old 01-27-2004, 11:41 AM   #2
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
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.
Force Flow is offline   Reply With Quote
Old 01-28-2004, 04:02 AM   #3
Member (7 bit)
 
chris1977uk's Avatar
 
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.
chris1977uk is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:46 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2