Sending an email notification to the administrator of the website using the SendGrid service
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.
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.
Creating a SendGrid account
- Navigate to Azure Management portal and create a
SendGrid Email Delivery
account by searching for it in the Marketplace, as shown in the following screenshot:

- In the
SendGrid Email Delivery
blade, click on theCreate
button to navigate toCreate a New SendGrid Account
. Selectfree
inPricing tier
and provide all the other details and click on theCreate
button, as...