Question

I have been working on an MVC project and I everything works at the moment except I can't force the user to confirm the email address before I active the user's account.

I am using the built-in MembershipService/MembershipProvider that came with MVC. I was thinking of sending a normal email using an SmtpClient and MailMessage and then making a viewpage to confirm the account by changing the IsApproved value inside an ActionResult.

Is there a better way of doing it or maybe even a built in MembershipService function for doing such a job.

Was it helpful?

Solution

The Membership services provided by the framework don't support this directly. Your backup plan sounds OK though. This link may help too.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top