Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

SendGridSharp

Simplify SendGrid REST / SMTP API Client for C#

Usage

// Use API Key
var client = new SendGridClient("API_KEY");
// use SendGrid credential
//var client = new SendGridClient(new NetworkCredential("USERNAME", "PASSWORD"));

var message = new SendGridMessage();

message.To.Add("****@****.com");
message.From = "****@****.com";

message.Header.AddSubstitution("-name-", "customer");

message.Subject = "Dear -name- ";
message.Html = "<p>html message</p>";
message.Text = "text message";

client.Send(message);

About

Simplify SendGrid REST / SMTP API Client for C#

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.