The remote name could not be resolved: 'smtp.163.com'
来源:互联网 发布:弱视训练软件app 编辑:程序博客网 时间:2024/04/30 02:14
在做发邮件功能的时候,出现这么个错误 如下:
The remote name could not be resolved: 'smtp.163.com'
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The remote name could not be resolved: 'smtp.163.com'
Web.config 里的配置节点为:
<add key="PostAddress" value=test@163.com/>
<add key="PostName" value="test"/>
<add key="PostPassword" value="111111"/>
<add key="PostService" value="'smtp.163.com'"/>
我是把参数都写到了web.config里。
解决办法 把 'smtp.163.com' 改成 对应的服务器地址就可以了。
- The remote name could not be resolved: 'smtp.163.com'
- The remote name could not be resolved问题的解决方法
- 未能解析此远程名称:’nuget.org’(The remote name could not be resolved: 'nuget.org')
- install LuaForWindow 提示The server name or address could not be resolved. 错误
- package name deja-dup-backend-gvfs could not be resolved
- ssh: Could not resolve hostname github.com: Name or service not known; fatal: The remote end hung up
- tag 'select', field 'list', name 'did': The requested list key '#dList' could not be resolved as a c
- Microsoft.Practices.Unity使用配置文件总是报错The type name or alias could not be resolved.
- tag 'select', field 'list', name 'did': The requested list key '#id' could not be resolved as a c
- IP address '121.41.35.30' could not be resolved: Name or service not known解决方法
- MBean with the same name could not be unregisted
- IP address could not be resolved: Temporary failure in name resolution
- IP address could not be resolved: Temporary failure in name resolution
- [MySQL]IP address '192.168.31.110' could not be resolved: Temporary failure in name resolution
- IP address could not be resolved: Temporary failure in name resolution
- skip-name-resolve && skip-host-cache && mysql IP address could not be resolved
- IP address '172.172.200.88' could not be resolved: Temporary failure in name resolution
- [Warning] IP address'10.0.9.121' could not be resolved: Temporary failure in name resolution
- 如何应对面试的“十大必考题”?
- Cache使用总结
- 动词不定式的时态
- SQLServer的链接服务器技术小结
- width和height使用规范
- The remote name could not be resolved: 'smtp.163.com'
- BUG日志 07-23
- 查询重复记录!
- 不同库表间(含字段)比较的SQL代码
- C#中得到程序当前工作目录和执行目录的一些方法
- 2008年经典高智商彪悍语录精选
- XmlHttp中文帮助
- C#动态加载DLL
- 新员工个人发展心得