The Twilio SendGrid C# .NET library provides an easy way to send emails. This example application shows how to integrate with an ASP.NET application.
- .NET version 4.5.2 and higher
- Visual Studio 2015
Update the "SendGridApiKey" appSettings variable within the web.config file.
-
Open SendGrid.ASPSamples.sln
-
Switch to one of the example project (right-click on a project -> "Set as StartUp project")
-
Build and run the project
You may need to download the latest Nuget executable and run
nuget.exe restore
-
When you run the project, a web form will launch in your browser that will send an email.
Big thanks to paritosh baghel for contributing this example code!