In the previous recipe, we hard coded most of the attributes related to sending an email to an administrator as there would be just one administrator. In this recipe, we will modify the previous recipe that sends emails to the user itself that sends a Thank you for registration email.
Sending an email notification to the end user dynamically
Getting ready
Make sure that the following are configured properly:
- The SendGrid account has been created and an API key is generated in the SendGrid portal
- An App settings is created in the Application settings of the function app
- The App settings key is configured in the SendGrid output (message) bindings