I'm new to asp.net mvc Identity and SendGrid but would really like to use the functionality of both of them.
I would like to let the user sign up using identity registration form and then use SendGrid v3 to send a template (built in my SendGrid account) as the account registration confirmation email. I've created a Transactional template and have an Api Key.
I have enabled email confirmation in identity:
I have then set up my sendGrid apiKey and account credentials in the app settings of my web.config so I can use them in my code.
I have added this to my EmailService in the IdentityConfig.cs but i'm stuck on where to go from here:
I've also read the following but cannot understand where to implement it:
https://sendgrid.com/docs/API_Reference/Web_API_v3/Transactional_Templates/smtpapi.html
Any help on this would be awesome as i'm just not sure where to go from here.
Thanks