如何通过 ASP 来发送带附件、格式为 HTML 的邮件?下面提供了一个例程.
<%@ LANGUAGE=VBScript%
<%
Response.Buffer = True
Response.Expires = 0
'创建对象实例
Set myMail = Server.CreateObject("CDONTS.NewMail")
'以下是将要发送的内容
HTML = "HTML = HTML & "
HTML = HTML & "This is a test mail in html
HTML = HTML & "Mail content here ...HTML = HTML & "[ 查看全文 ]