AshleyMedway / MailJet.NET

.NET Client for MailJet
MIT License
8 stars 11 forks source link
dotnet email mailjet

MailJet .NET (unofficial)

An unofficial .NET Client for use with MailJet v3 API.

Build Status Gitter NuGet

Currently implemented features:

Next features will be (unless anyone raises issues otherwise):

The package uses System.Net.Mail.MailMessage for sending outgoing mail as this hopefully allows for simple transition from using System.Net.Mail.SmtpClient.
If you find any features of MailMessage have not been implemented please raise an issue.

If there is a specific feature of the API you would like please create an issue or fork, develop, pull request :smiley:

Basic Usage

MailJetClient client = new MailJetClient("{PublicKey}", "{PrivateKey}");
client.SendMessage(new System.Net.Mail.MailMessage("from@email.com", "to@email.com", "subject", "email body"));

For a more detailed usage you can see the SendMail UnitTests.