In this recipe, you will learn how to create a SendGrid output binding and send an email notification to the administrator with static content. In general, there would be only administrators, so we will be hardcoding the email address of the administrator in the To address field of the SendGrid output (message) binding.
Sending an email notification to the administrator of the website using the SendGrid service
Getting ready
We will perform the following steps before moving to the next section:
- Create a SendGrid account API key from the Azure Management portal.
- Generate an API key from the SendGrid portal.