How it works...

The aim of this recipe is to send a notification via email to the administrator, updating them that a new registration was created successfully.

We have used one of the Azure Function output bindings, named SendGrid, as a Simple Mail Transfer Protocol (SMTP) server forĀ sendingĀ our emails, by hardcoding the following properties in the SendGrid output (message) bindings:

The SendGrid output (message) bindings will use the API key provided in App settings to invoke the required APIs of the SendGrid library in order to send the emails.