用 System.Web.Mail.SmtpMail 发信出现异常
来源:互联网 发布:华为机顶盒破解软件 编辑:程序博客网 时间:2024/06/10 23:00
Could not access 'CDO.Message' object
可能的原因有很多,最常见的是权限不足。在 http://blog.joycode.com/ghj 下有一个 post 列出了不少。我们有一个程序由于 web server 重新设置过了,出现了该问题。我找到这个 KB:
http://support.microsoft.com/?id=260985
内容摘录一点如下:(因为网上的东西当你需要看的时候,链接往往就不能访问了,这是我的切身体会。所以复制一遍还是有必要的 -_-)
按照这个设置解决了我的问题。
可能的原因有很多,最常见的是权限不足。在 http://blog.joycode.com/ghj 下有一个 post 列出了不少。我们有一个程序由于 web server 重新设置过了,出现了该问题。我找到这个 KB:
http://support.microsoft.com/?id=260985
内容摘录一点如下:(因为网上的东西当你需要看的时候,链接往往就不能访问了,这是我的切身体会。所以复制一遍还是有必要的 -_-)
SUMMARY
This article discusses the minimum NTFS permissions that are required to use Collaboration Data Objects for Windows NT Servers (CDONTS) in conjunction with either the Internet Information Server (IIS) SMTP service or the Exchange Server Internet Mail Service.
MORE INFORMATION
If you are using CDONTS with the Option Pack SMTP service, the following minimum NTFS permissions are required:
If you are using CDONTS with Exchange Server, the following minimum NTFS permissions are required:
• | The IUSR account must have Add rights to the Mailroot/Pickup folder. |
• | If you are running CDONTS out of process, the IWAM account must have Add rights to the Mailroot/Pickup folder. |
• | The System account must have Full Control rights to the entire Mailroot folder structure. |
• | The default location for the Mailroot folder is Inetpub/Mailroot. |
• | The IUSR account must have Add rights to the Exchsrvr/Imcdata/Pickup folder. |
• | If you are running CDONTS out of process, the IWAM account must have Add rights to the Exchsrvr/Imcdata/Pickup folder. |
• | The Exchange Server service account must have Full Control rights to the entire Exchsrvr/Imcdata folder structure. |
按照这个设置解决了我的问题。
- 用 System.Web.Mail.SmtpMail 发信出现异常
- System.Web.Mail.SmtpMail
- 使用system.web.mail.SMTPmail发送邮件,处理smtp验证问题
- .NET 1.1 下不使用 System.Web.Mail.SmtpMail 发送邮件的其它选择
- .NET 1.1 下不使用 System.Web.Mail.SmtpMail 发送邮件的其它选择
- .NET 1.1 下不使用 System.Web.Mail.SmtpMail 发送邮件的其它选择
- .net 1.1 下不使用 system.web.mail.smtpmail 发送邮件的其它选择_asp.net技巧
- 用System.Web.Mail发邮件
- 用System.Web.Mail发邮件
- 用System.Web.Mail发送邮件
- System.Web.Mail
- System.Web.Mail FAQ
- .net 2.0 下发送邮件的方式。System.Web.Mail 过时用System.Net.Mail
- 郁闷的System.Web.Mail
- 用System.Web.Mail命名空间发送邮件
- 用system.web.mail 发送邮件及附件
- 谈谈System.Net.Mail和System.Web.Mail
- Frequently Asked Questions for System.Web.Mail
- php 学习之 session
- Smarty的配置,赋值,显示
- phpMyAdmin 2.7.0 会自动去除语言列表中非 UTF-8 的版本的语言
- 关键字:csrss.exe cpu 100%
- BugFree 的一个 bug 修正
- 用 System.Web.Mail.SmtpMail 发信出现异常
- Install Tavi-wiki
- php 学习系列: 变量的作用域
- Outlook 或其他程序中打开超链接显示空白窗口
- 去除 vs.net 2003 项目的 VSS 信息的脚本(收藏)
- IDLE 有增强的插件了
- 2006年十二生肖运势(收藏)
- 夏日两款莲子清火汤
- 用 C# 做组件设计时的事件实现方法讨论