<%
Dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail")
//these are all the images that are in this message.
//you must include them like this.
//please note that you DO NOT have TO write the
//entire file path in the
//make sure you see the image name after the path separated by a comma
objMail.AttachURL "D:imagesmyImage.gif", "myImage.gif"
objMail.AttachURL "D:imagesmyImage2.gif", "myImage2.gif"
HTML = HTML %26amp; ""
HTML = HTML %26amp; ""
HTML = HTML %26amp; "
HTML = HTML %26amp; ""
HTML = HTML %26amp; ""
HTML = HTML %26amp; "
| " HTML = HTML %26amp; now() %26amp; " - " HTML = HTML %26amp; "These are all great ASP Sites |
|---|
| " HTML = HTML %26amp; "" HTML = HTML %26amp; " " HTML = HTML %26amp; "" HTML = HTML %26amp; " " HTML = HTML %26amp; " |
"
HTML = HTML %26amp; ""
HTML = HTML %26amp; ""
objMail.From = "rob@tconsult.com"
objMail.Subject = "Your daily HTML Mail"
you need TO add these lines FOR the mail
to be sent in HTML format
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.To = "you@yourhouse.com
objMail.Body = HTML
objMail.Send
Response.write("Mail was Sent")
set objMail = nothing
%>
文章整理:站长天空 网址:http://www.z6688.com/
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!




