An unofficial .NET Client for use with MailJet v3 API.
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):
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.