CDONTS.NEWMAIL可以选用HTML格式发送EMAIL
类别: ASP教程
?? NewMail 物件的 BodyFormat 及 MailFormat ?傩远荚O定成 0,接著指定 HTML 斤 Body ?傩裕?就可以以 HTML 格式???魉? Email,例如:
Set mail = Server.CreateObject( "CDONTS.NewMail" )
mail.To = "abc@abc.com"
mail.From = "123@123.com"
mail.Subject = "你好"
mail.BodyFormat = 0
mail.MailFormat = 0
mail.Body = Body \' Body ?? HTML 格式
mail.Send
Set mail = Server.CreateObject( "CDONTS.NewMail" )
mail.To = "abc@abc.com"
mail.From = "123@123.com"
mail.Subject = "你好"
mail.BodyFormat = 0
mail.MailFormat = 0
mail.Body = Body \' Body ?? HTML 格式
mail.Send
-= 资 源 教 程 =-
文 章 搜 索