Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I am very new to MVC. I have created a new project in my spare time to try and get up to speed. I am not using the asp.net identity tables but I am using identity through my own users and roles tables.

I a now want to send out a mail to the user if they forgot their password but I only see things on google for asp.net identity tables.

Is there any way of accomplishing this with my own tables?

thanks
Posted

1 solution

Use Entity Framework to access the data in your database and SmtpClient to send the emails.

https://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient(v=vs.110).aspx[^]

Google for tutorials etc on Entity Framework, it's a big subject.
 
Share this answer
 

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