Managed SendPulse .NET SDK
SendPulse is an Email marketing service maximizing open rates automatically.
Send up to 15,000 e-mails every month fo free.
using (var sendPulse = new SendPulseService("CLIENT_ID", "CLIENT_SECRET"))
{
await sendPulse.SendEmailAsync(new EmailData
{
Subject = "Sample Subject",
From = new EmailAddress
{
Name = "Sender Name",
Address = "sender@example.com"
},
To = new List<EmailAddress>
{
new EmailAddress
{
Name = "Recipient Name",
Address = "recipient@example.com"
}
},
HTML = "<p>Example Text</p>",
Text = "Example Text"
});
}
using (var sendPulse = new SendPulseService("CLIENT_ID", "CLIENT_SECRET"))
{
await sendPulse.SendEmailAsync(new TemplateEmailData
{
Subject = "Sample Subject",
From = new EmailAddress
{
Name = "Sender Name",
Address = "sender@example.com"
},
To = new List<EmailAddress>
{
new EmailAddress
{
Name = "Recipient Name",
Address = "recipient@example.com"
}
},
TemplateID = "TEMPLATE_ID",
TemplateVariables = new Dictionary<string, string>
{
{ "ec_es_email_sender_company", "Company Name" },
{ "ec_es_email_sender_address", "Sender Address" },
{ "current_year", "Current Year" }
}
});
}
- Lightweight library based on .NET Standard
- Send mail with text and HTML or Template
- Get Balance info of SendPulse account