"sendusing配置值无效"是什么原因?

xiaojiyi 2003-08-22 10:53:44
一下这段代码,我在一台exchange server上运行没有任何问题,但是在另外一台上运行,则提示"sendusing配置值无效",这是什么原因?
dim mymail
set mymail=server.createobject("cdo.message")
mymail.from="temp@mail_server.py"
mymail.to="temp@mail_server.py"
mymail.subject="abc"
mymail.textbody="hello"
mymail.send
set mymail=nothing
...全文
425 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
xiaojiyi 2003-09-28
  • 打赏
  • 举报
回复
这个问题我解决了.无须象各位说的那样.
我在系统每次启动时运行了这样的程序:
d:
rem 注册组件
cscript mbaadd.vbs MAIL_SERVER0/IUSR_MAIL_SERVER
cscript mbaadd.vbs MAIL_SERVER0/IWAM_MAIL_SERVER
cscript mbaadd.vbs MAIL_SERVER0/mailmaster
rem 停止服务
net stop w3svc
net stop SMTPSvc
net stop RESvc
net stop POP3Svc
net stop NntpSvc
net stop MSExchangeMTA
net stop IMAP4Svc
net stop MSExchangeIS
net stop IISADMIN
rem 启动服务
net start w3svc
net start SMTPSvc
net start RESvc
net start POP3Svc
net start NntpSvc
net start MSExchangeMTA
net start IMAP4Svc
net start MSExchangeIS
net start IISADMIN
exit
其中mbaadd.vbs是微软网站上的程序
miaomiaoga 2003-08-27
  • 打赏
  • 举报
回复
after you patched the sp3 for exchange2000, the notice of sp3 already said that for secure reason, use CDO to send email, needs to add "sendusing" and another properties that likes that, if not, then it would be failed during send mail process.

(please pardon my poor english, i can't type chinese now...5.5.5..5.5. sorry..)
hon 2003-08-25
  • 打赏
  • 举报
回复
with msg.Configuration.fields
.item("http://schemas.microsoft.com/cdo/configuration/sendusing")=3
.update()
end with

必须以mymail.from的用户身份登陆
xiaojiyi 2003-08-25
  • 打赏
  • 举报
回复
是的,我安装了sp3,我在微软的网站上找到了下面这篇文章,我按照它提供的第二种方法进行处理了,但还是不行.

微软的处理方法:
http://support.microsoft.com/?kbid=324037
hon 2003-08-22
  • 打赏
  • 举报
回复
另外一台上运行,该台装了E2K Sp3了吧!!

535

社区成员

发帖
与我相关
我的任务
社区描述
企业开发 Exchange Server
社区管理员
  • 消息协作社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧