在Windows中发送短信问题 [英] sending sms problem in windows
本文介绍了在Windows中发送短信问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
smtp服务器需要安全连接或客户端未经过身份验证5.5.1使用vs 2008发送短信
解决方案
您提供的是正确的凭据吗?将EnableSsl
属性设置为true(如果您确实使用SSL)?
smtp.EnableSsl = true ;
smtp.UseDefaultCredentials = false ;
smtp.Credentials = new System.Net.NetworkCredential( 我的用户, 我的通行证);
smtp server requires a secure connection or the client was not authenticated 5.5.1 in sending sms using vs 2008
解决方案
Are you supplying correct credentials and do you have theEnableSsl
property set to true (if you are indeed using SSL)?
smtp.EnableSsl = true; smtp.UseDefaultCredentials = false; smtp.Credentials = new System.Net.NetworkCredential("my user", "my pass");
这篇关于在Windows中发送短信问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文