一个常见的“没有权限”的老问题
环境IIS 5(Windows2000 Advance Server)
使用在scripts目录下使用mail发送邮件,代码如下:
set oMailer=Server.CreateObject("CDONTS.NewMail")
oMailer.From=EMail
oMailer.To=.......(内容省略,下同)
oMailer.Subject=.......
oMailer.Body=........
bRet=oMailer.Send() <—— 就是这里出了问题
set oMailer=nothing
出问题的情况如下:
Microsoft VBScript 编译器错误 错误 '800a03f6'
缺少 'End'
/iisHelp/common/500-100.asp,行242
Microsoft VBScript 运行时错误 错误 '800a0046'
没有权限
/scripts/makecall.asp,行68 (就是send 语句所在的行)
我想这个应该是老问题了,所以希望大家能给于帮助!谢谢