|
主要是注意一下编码的定义,否则不支持中文或者有乱码!
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.BodyFormat = 1
objMail.MailFormat = 0
objMail.SetLocaleIDs(936)
objMail.Subject = "淘主机"
objMail.From = "xxx@taohost.net"
objMail.To = "xxx@taohost.org"
objMail.cc = ""
objMail.Body = "淘主机"
objMail.Send
Set objMail = Nothing
%> |
|