用ASP发送HTML格式的邮件

<%
Dim objMail
Set objMail = CreateObject("CDONTS.Newmail")
objMail.TO = "bhumphre@confederationc.on.ca"
objMail.From = "Whoeveryouwant@whereever.com" '在这里可以选择你要发送去那里的地址
objmail.Subject = "HTML EMAIL!"
objMail.MailFormat = cdoMailFormatMime
objMail.BodyFormat = cdoBodyFormatHTML
objMail.Body = "<html><body><p align='center'><b>Hey there!</b></p><p align='center'><b>This is a html doc
in your Email!!!!</b></p><p align='center'>&nbsp;</p><p align='center'>&nbsp;</p><p
align='center'><i><u>We kick the Llamas Ass!!!!</u></i></p></body></html>"
objMail.send
set objMail = Nothing
%>

300*300
 文章首页关于迷茫时代关于我写意人生
版权所有:迷茫时代 All rights reserved   
执行时间:0.00558 秒