远程名称无法解析:'Smtp.dut.ac.za' [英] The remote name could not be resolved:'Smtp.dut.ac.za'

查看:126
本文介绍了远程名称无法解析:'Smtp.dut.ac.za'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前是今年最后一年的一个项目的学生,我的登录控件以及createuser控件执行得很好,没有任何错误,我目前遇到困难的控件是PasswordRecovery控件,我要在项目中集成它,以便在用户提供安全问题的安全答案后向用户发送电子邮件通知他们当前的密码,我实际上不知道导致web.config文件更新的问题是什么.
输入安全性问题的安全性答案并单击提交按钮后,应用程序简单收到以下错误:无法解析远程名称:''Smtp.dut.ac.za''

如果有人可以帮助我解决这个问题,我将不胜感激.

I am currently a student working on a project for my final year this year and my login control as well as my createuser control are executing well without any errors, the control that I am currently experiencing difficulty with is the PasswordRecovery Control,I want to intergrate it within the project so that it sends a user an email notifying them of their current passwords after they provide a security answer to the security question, I actually have no idea what is the problem cause the web.config file is updated.
The error that I recieve when I enter the security answer to the security question and after clicking the submit button the application simple returns the following error:The remote name could not be resolved:''Smtp.dut.ac.za''

I would really appreciate it if anyone can help me out with this problem.

推荐答案

Argh!不!不要这样做.

密码恢复是一个非常糟糕的主意.问题在于,密码必须以可读格式存储(加密,可以,但仍然可读),这样密码才能起作用.
而是使用哈希密码,并在用户忘记密码时重置密码:密码存储:如何 [ ^ ]
Argh! No! Don''t do it.

Password recovery is a Very Bad Idea. The problem is that the password has to be stored in a readable format (encrypted, yes, but still readable) in order for it to work.
Instead, use Hashed passwords and reset them when the user forgets: Password Storage: How to do it.[^]


这篇关于远程名称无法解析:'Smtp.dut.ac.za'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆