Timestamp: 2006-12-25 13:05:54
Message: HandlingInstanceID: 5f48a876-9447-4a4d-893b-4d744fd00059
An exception of type 'System.Exception' occurred and was caught.
----------------------------------------------------------------
12/25/2006 13:05:54
Type : System.Exception, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Email 发送error:[email protected]
Source :
Help link :
TargetSite :
Stack Trace : The stack trace is unavailable.
Additional Info:
MachineName : Pro
TimeStamp : 2006-12-25 5:05:54
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
AppDomainName : /LM/W3SVC/429177280/Root-5-128114678452031250
ThreadIdentity : 19999991402
WindowsIdentity : NT AUTHORITY\NETWORK SERVICE
Inner Exception
---------------
Type : System.Runtime.InteropServices.COMException, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : 与服务器的传输连接失败。
Source : CDO.Message.1
Help link :
ErrorCode : -2147220973
TargetSite : Void Send()
Stack Trace : at CDO.MessageClass.Send()
....
发送时,老出错误,错误信息以上.
Message: HandlingInstanceID: 5f48a876-9447-4a4d-893b-4d744fd00059
An exception of type 'System.Exception' occurred and was caught.
----------------------------------------------------------------
12/25/2006 13:05:54
Type : System.Exception, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Email 发送error:[email protected]
Source :
Help link :
TargetSite :
Stack Trace : The stack trace is unavailable.
Additional Info:
MachineName : Pro
TimeStamp : 2006-12-25 5:05:54
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
AppDomainName : /LM/W3SVC/429177280/Root-5-128114678452031250
ThreadIdentity : 19999991402
WindowsIdentity : NT AUTHORITY\NETWORK SERVICE
Inner Exception
---------------
Type : System.Runtime.InteropServices.COMException, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : 与服务器的传输连接失败。
Source : CDO.Message.1
Help link :
ErrorCode : -2147220973
TargetSite : Void Send()
Stack Trace : at CDO.MessageClass.Send()
....
发送时,老出错误,错误信息以上.
解决方案 »
- 怎么通过wcf去跨域读取cookie呢
- 该如何传值给ASP文件呢?
- 为什么我的按钮需要点击两次才执行事件?
- textbox文本框,如果确定输入格式是时间格式和数字格式?
- <%# DataBinder.Eval(Container.DataItem, "smalldir")%> 如何将绑定的值中'*' 替换成 '#'
- 自定义控件WebControl如何取得他宿主的webForm中的对象?
- 请教:在windows下用Visual Studio 2003多人开发一个大项目,如何做版本控制好?
- asp.net的安全性问题
- 在VS2003中编辑WEB时,这样的语句也会错呢?
- 如何将一个表达十六进制数据的字符串转为十进制的整数?
- 我的程序昨天都还正常的,今天每个页面都出问题了!!!
- 如何做这样的嵌套查询?
帮我看看问题
不会用jmail的
{
System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient(strSmtpServer);
client.UseDefaultCredentials = false;
client.Credentials = new System.Net.NetworkCredential(UserName, Password);
client.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network;
System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage(strFrom, strto, strSubject, strBody);
message.BodyEncoding = System.Text.Encoding.GetEncoding("gb2312");
message.SubjectEncoding = System.Text.Encoding.GetEncoding("gb2312");
message.IsBodyHtml = false; client.Send(message);
}