SendPulse.Net
1.0.2
See the version list below for details.
dotnet add package SendPulse.Net --version 1.0.2
NuGet\Install-Package SendPulse.Net -Version 1.0.2
<PackageReference Include="SendPulse.Net" Version="1.0.2" />
<PackageVersion Include="SendPulse.Net" Version="1.0.2" />
<PackageReference Include="SendPulse.Net" />
paket add SendPulse.Net --version 1.0.2
#r "nuget: SendPulse.Net, 1.0.2"
#:package SendPulse.Net@1.0.2
#addin nuget:?package=SendPulse.Net&version=1.0.2
#tool nuget:?package=SendPulse.Net&version=1.0.2
SendPulse.Net
SendPulse.Net is a .NET SDK that simplifies integration with the SendPulse API, allowing developers to manage email campaigns, SMTP, push notifications, chatbots, and more in their .NET applications.
Features
- Authenticate and interact with the SendPulse API
- Manage email campaigns, mailing lists, and templates
- Send transactional emails and SMS
Installation
Install the package via NuGet:
Install-Package SendPulse.Net
Or using .NET CLI:
dotnet add package SendPulse.Net
Getting Started
1. Configure API Credentials
To use SendPulse.Net, you need your SendPulse API credentials. Obtain them from SendPulse API settings.
2. Configure Service
using SendPulseNetSDK.src.SendPulse;
using SendPulseNetSDK.src.SendPulse.Models;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSendPulseNet(config =>
{
config.BaseUrl = "https://api.sendpulse.com";
config.ClientId = "991e5dcb9163ca4d5d**********";
config.ClientSecret = "client_secret_here";
});
3. Example: Send an Email
//Inject Interface
// ISendPulseClient sendPulseClient;
var fromEmail = new EmailAddress() { Email = "me@email.com", Name = "My Email Name" };
var toEmail = new List<EmailAddress>()
{
new EmailAddress()
{
Email = "me@gmail.com",
Name ="John Doe"
}
};
var response = await sendPulseClient.SendApiEmailAsync(fromEmail, toEmail, "Test Email", "<p>Testing Sendpulse Nuget package</p>");
Console.WriteLine(response.Result ? "Email sent!" : "Failed to send email.");
Available APIs in this version
- Email API - Send transactional emails.
Documentation
Detailed documentation can be found here.
Contributing
Contributions are welcome! Feel free to submit pull requests or report issues.
License
This project is licensed under the MIT License.
Support
For issues or feature requests, open an issue in the repository or contact SendPulse Support.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Microsoft.Extensions.Caching.Memory (>= 9.0.1)
- Microsoft.Extensions.Configuration (>= 9.0.1)
- Microsoft.Extensions.Http (>= 9.0.1)
- System.Net.Http (>= 4.3.4)
-
net9.0
- Microsoft.Extensions.Caching.Memory (>= 9.0.1)
- Microsoft.Extensions.Configuration (>= 9.0.1)
- Microsoft.Extensions.Http (>= 9.0.1)
- System.Net.Http (>= 4.3.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.