邮件无法发送到 SMTP 服务器。传输错误代码为 0x800ccc15。服务器响应为 not available
发送邮件出现错误!
执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Runtime.InteropServices.COMException: 邮件无法发送到 SMTP 服务器。传输错误代码为 0x800ccc15。服务器响应为 not available
堆栈跟踪:
[COMException (0x80040211): 邮件无法发送到 SMTP 服务器。传输错误代码为 0x800ccc15。服务器响应为 not available
]
[TargetInvocationException: 调用的目标发生了异常。]
[HttpException (0x80004005): 未能访问“CDO.Message”对象。]
问题点数:100、回复次数:1Top
1 楼saucer(思归)回复于 2002-11-19 23:24:20 得分 100
1. make sure you properly configured your SMTP server in Internet Service Manager
2. try
SmtpMail.SmtpServer = "127.0.0.1";
or some other mail server, but you might need to grant ASPNET more permissions, for example, make ASP.NET runs under SYSTEM by changing machine.config
Top




