很菜的问题
dim str
str=str&"您好!"
Set theMail=Server.CreateObject("CDONTS.NewMail")
theMail.From = "xiangluan@1010.com"
theMail.To = "xiang1luan2@sina.com"
theMail.Subject ="电子邮件功能测试!"
theMail.BodyFormat=0
theMail.MailFormat=0
theMail.Body=Str
On Error Resume Next
theMail.Send
set theMail=nothing
输出:
无效字符
/asp/shiyan/cdont.asp,行16
theMail.From = "xiangluan@1010.com"
----------------------------------^