Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
sending the password from the data database to the email Using C# windows form
Posted
Comments
Nelek 30-Aug-13 6:27am    
Perfect, you have our permission, go ahead.

Since you didn't ask any question, it is difficult to give you a better answer.

I strongly recommend you to read:
How to ask a question[^] and What have you tried?[^]
[no name] 30-Aug-13 6:32am    
If you are able to send the password through email in plain text then you are storing you password incorrectly. If you are storing the passwords correctly, in non human readable format, then you would not need to do this at all.

1 solution

Don't send passwords. Ever. Not by eMail. Nor any other way. Don't.

The only scenario where one could wish to do so (and still won't) is when a user forgot his password. Then, you don't send it to him. Instead, he provides his new password. And even that password is not transferred, just its hash value.

You don't even have his password. If you do, something already went wrong in the past.
 
Share this answer
 
Comments
Dave963 30-Aug-13 8:29am    
I agree with lukeer 1) Never keep clear text passwords in your database 2) Use security questions to confirm users identity and then allow him to create a new password

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900