当前位置: 首页 > 图文教程 > 网络编程 > 编程10000问 > 如何用ASP发送html格式的邮件?

编程10000问
ASP问答集
asp中在JScript中使用RecordSet对象的GetRows
oblog_4.6_SQL 语句

编程10000问 中的 如何用ASP发送html格式的邮件?


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-10   浏览: 292 ::
收藏到网摘: n/a

如何用ASP发送html格式的邮件?

<%

Dim objMail

Set objMail = CreateObject("CDONTS.Newmail")

objMail.TO = "[email protected]"

objMail.From [email protected]

objmail.Subject = "闪亮日子之html撼雪喷云"

objMail.MailFormat = cdoMailFormatMime

objMail.bodyFormat = cdobodyFormathtml

objMail.body = "内容"

objMail.send

set objMail = Nothing

%>

[1]