一个简单的问题,请教大侠~~~~ smtp发邮件时MailServerUserName和MailServerPassWord在后台写什么地方 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 seehttp://www.eggheadcafe.com/PrintSearchContent.asp?LINKID=622 http://dev.csdn.net/article/67/67456.shtm顺便问一下思归大哥,写下边这几个地址的意义是什么?http://schemas.microsoft.com/cdo/configuration/smtpauthenticatehttp://schemas.microsoft.com/cdo/configuration/sendusernamehttp://schemas.microsoft.com/cdo/configuration/sendpassword saucer(思归)兄给的地址不错。 参考http://msdn.microsoft.com/library/en-us/e2k3/e2k3/_cdo_schema_configuration.asp?frame=truehttp://schemas.microsoft.com/cdo/configuration/smtpauthenticate属性用来指定认证方式, 对应的值,0 -- 无认证1--用基本认证机制2--用NTLM认证机制http://schemas.microsoft.com/cdo/configuration/sendusername属性用来指定认证所用登陆名http://schemas.microsoft.com/cdo/configuration/sendpassword属性用来指定认证所用密码 麻烦saucer(思归)大哥再帮我看看,好象还是不能发送,这是怎么回事?MailMessage message = new MailMessage(); message.BodyFormat = MailFormat.Text; message.From = "[email protected]"; message.To = GM_EMAIL.Text.Trim(); message.Subject = "测试邮件"; message.Body = txtCONTENT;SmtpMail.SmtpServer = "SMTP.163.COM"; message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1"); message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "xxx"); message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "xxx"); SmtpMail.Send(message); 数据长度(Length) 计算: 要求N<2^12(4096)byte , 并进行如下计算 c#检测检测是否有移动设备插入 TreeView节点的选择与导航 急!!在线等 Winform中关于状态栏控件的问题 如何替换文本中的16进制字符! 如何用多线程来实现ping多台机器? 求问几个关于C#制作画板的bug问题,新手求指导 京东面试乌龙 ODBC连接问题 关于图形TOOLBARBUTTON的实现的问题 DataSet与xml问题 求助:如何屏蔽alt+f4!
顺便问一下思归大哥,写下边这几个地址的意义是什么?
http://schemas.microsoft.com/cdo/configuration/smtpauthenticate
http://schemas.microsoft.com/cdo/configuration/sendusername
http://schemas.microsoft.com/cdo/configuration/sendpassword
http://msdn.microsoft.com/library/en-us/e2k3/e2k3/_cdo_schema_configuration.asp?frame=truehttp://schemas.microsoft.com/cdo/configuration/smtpauthenticate属性用来指定认证方式, 对应的值,
0 -- 无认证
1--用基本认证机制
2--用NTLM认证机制http://schemas.microsoft.com/cdo/configuration/sendusername属性用来指定认证所用登陆名http://schemas.microsoft.com/cdo/configuration/sendpassword属性用来指定认证所用密码
message.BodyFormat = MailFormat.Text;
message.From = "[email protected]";
message.To = GM_EMAIL.Text.Trim();
message.Subject = "测试邮件";
message.Body = txtCONTENT;
SmtpMail.SmtpServer = "SMTP.163.COM";
message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "xxx");
message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "xxx");
SmtpMail.Send(message);