- Create a new ManualTrigger - C# template, as shown in the following screenshot, with the name SharedClasses:
- Once the trigger is created, navigate to the View files tab and add a new file named Helper.csx by clicking on the Add button, as shown in the following screenshot:
- Copy the following code and paste in the new Helper.csx file. The following code accepts all the information required for sending an email using SendGrid:
#r "SendGrid" using System.Net; using SendGrid.Helpers.Mail; public static class Helper { public ...