作为SmtpMail.SmtpServer的值的服务器,要安装什么软件吗?而且要有什么权限吗?
解决方案 »
- Asp.net 如果实现多个sheet导出到Excel
- 两个用户控件间传值
- 一个界面有多个BUTTON和TEXTBOX,我想根据textbox的焦点,在回车时候判断对应的BUTTON的ONCLICK事件,请问怎么解决
- 100分的问题求解
- OWC控件使用问题急啊急急急急急急急急急急急急急急急急急急急急急急急急急急急急!!!!!!!!!!!!!!!
- 求:这个版本问题怎么解决啊?
- 100 分急求遍历树状关系的方法 !!!!
- 有关 Asp.net Tree的问题 OA中的用户树
- 求救!!!(上传服务器出错!)
- 菜鸟的问题:数据绑定的问题???
- 一个重点难题!!
- asp.net中UrlEncode()编码问题
为什么我用mail.163.com做它的值的时候就不行呢?
Dim objAttachment As System.Web.Mail.MailAttachment objMessage.To = "[email protected]"
objMessage.From = "[email protected]"
objMessage.Subject = "Test"
objMessage.Body = "Test" objMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1") 'basic authentication
objMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "b") 'set your username here
objMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "password-test") 'set your password here SmtpMail.SmtpServer = "stmp.163.com"
SmtpMail.Send(objMessage)