如何为我的应用程序创建电子邮件工具的可用标签 [英] How to crete e-mail facility availabel to my application

查看:93
本文介绍了如何为我的应用程序创建电子邮件工具的可用标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在asp.net中创建了一个应用程序.我希望向用户提供电子邮件功能,以便在用户丢失/忘记密码时,他提供该系统上的电子邮件地址并提供密码?
如何在asp.net中创建此应用程序,请帮助我

Hi,
i create one application in asp.net .i want email facility to user for if user lost/forgot his password he provide the email address on that system provide his password ?
how this application is create in asp.net please help me

推荐答案

不要这样做.

相反,如果他松开密码,则将其设置为随机值,然后通过电子邮件将新的随机值发送给他.
这样,如果这是一次入侵尝试,则他需要访问注册该帐户的原始电子邮件地址,并且原始所有者知道他的密码已更改.

系统绝不应该存储可读的密码:这里有一个提示,提供了操作的基础知识:发送带有或不带有附件的C#电子邮件:通用例程. [
Don''t do it.

Instead, if he looses his password, set it to a random value, and email him that new, random value.
That way, if this is an intrusion attempt, he needs access to the original email address the account was registered with, and the original owner is aware that his password has changed.

Systems should never store readable passwords: there is a tip here that gives the basics of what to do: Password Storage: How to do it.[^]

There is also a generic email routine here: Sending an Email in C# with or without attachments: generic routine.[^]


这篇关于如何为我的应用程序创建电子邮件工具的可用标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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