How To Configure Email When UserManager.SendEmailAsync Is Called



TODO:

Have you ever wondered how to send email when UserManager.SendEmailAsync is called?

 

SOLUTION:

In the App_Start folder there is file called IdentityConfig.cs  

In that file there is a method called publicTask SendAsync(IdentityMessage message).  

Add your email code to that method and you will be able to send emails when UserManager.SendEmailAsync is called. 

 

NOTES:

There are no notes on this topic.



Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading