Source Code
View on GitHub
Package
View on NuGet
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Send emails from C# and .NET using the SendKit SDK.
dotnet add package SendKit
using SendKit;
var client = new SendKitClient("sk_your_api_key");
var response = await client.Emails.SendAsync(new SendEmailParams
{
From = "Your Name <you@yourdomain.com>",
To = ["recipient@example.com"],
Subject = "Hello from SendKit",
Html = "<h1>Welcome!</h1><p>Your first email with SendKit.</p>"
});
Console.WriteLine($"Email sent: {response.Id}");
