<commit_before># MailJet .NET (unofficial)
An unofficial .NET Client for use with MailJet v3 API.

[![Build Status](https://travis-ci.org/AshleyMedway/MailJet.NET.svg?branch=master)](https://travis-ci.org/AshleyMedway/MailJet.NET)
[![Gitter](https://badges.gitter.im/AshleyMedway/MailJet.NET.svg)](https://gitter.im/AshleyMedway/MailJet.NET?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=body_badge)
[![NuGet](https://img.shields.io/nuget/dt/MailJet.NET.svg)](https://www.nuget.org/packages/MailJet.NET)

Currently implemented features:  

 * Sending Messages & Getting MessageInfo
 * Some account management (DNS & MetaSender)

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

 * Completing account management (Sender, MyProfile & User)


The package uses `System.Net.Mail.MailMessage` for sending outgoing mail as this hopefully allows for simple transition between 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(System.Net.Mail.MailMessage);

For a more detailed usage you can see the [SendMail](https://github.com/AshleyMedway/MailJet.NET/blob/master/MailJet.Client.Tests/SendMail.cs) UnitTests.
<commit_msg>- Updated README.md to include correct MailMessage instantiation.<commit_after># MailJet .NET (unofficial)
An unofficial .NET Client for use with MailJet v3 API.

[![Build Status](https://travis-ci.org/AshleyMedway/MailJet.NET.svg?branch=master)](https://travis-ci.org/AshleyMedway/MailJet.NET)
[![Gitter](https://badges.gitter.im/AshleyMedway/MailJet.NET.svg)](https://gitter.im/AshleyMedway/MailJet.NET?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=body_badge)
[![NuGet](https://img.shields.io/nuget/dt/MailJet.NET.svg)](https://www.nuget.org/packages/MailJet.NET)

Currently implemented features:  

 * Sending Messages & Getting MessageInfo
 * Some account management (DNS & MetaSender)

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

 * Completing account management (Sender, MyProfile & User)


The package uses `System.Net.Mail.MailMessage` for sending outgoing mail as this hopefully allows for simple transition between 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());

For a more detailed usage you can see the [SendMail](https://github.com/AshleyMedway/MailJet.NET/blob/master/MailJet.Client.Tests/SendMail.cs) UnitTests.

{'fraction_non_alphanumeric': 0.11715620827770361, 'fraction_numerical': 0.0006675567423230974, 'mean_word_length': 5.403846153846154, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6376746', 'n_tokens_mistral': 978, 'n_tokens_neox': 910, 'n_words': 246}