FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

sendgrid-csharp/ExampleNet45ASPNetProject at main · sendgrid/sendgrid-csharp · GitHub

Latest commit

 

History

History

README.md

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.

Installation

Prerequisites

  • .NET version 4.5.2 and higher
  • Visual Studio 2015

Setup Environment Variables

Update the "SendGridApiKey" appSettings variable within the web.config file.

Steps

  1. Open SendGrid.ASPSamples.sln

  2. Switch to one of the example project (right-click on a project -> "Set as StartUp project")

  3. Build and run the project

    You may need to download the latest Nuget executable and run nuget.exe restore

  4. When you run the project, a web form will launch in your browser that will send an email.

Happy coding

Big thanks to paritosh baghel for contributing this example code!


Back | FazBrowse Home | New Git URL