Skip to content

AshleyMedway/MailJet.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MailJet .NET (unofficial)

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

Build Status Gitter NuGet

Currently implemented features:

  • Sending Messages & Getting MessageInfo
  • Some account management (DNS & MetaSender) - api doc
  • Contact list management (create/sub/unsub/etc.) - api doc
  • Contact Metadata management (CRUD) - api doc

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

  • Completing account management (Sender, MyProfile & User) - api doc
  • Contact management - api doc

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 😃

###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.