CSharp Email API for DotNET and ASP

MailSlurp is a powerful, free API for creating real email addresses in C#, F#, and DotNET. You can send and receive email addresses from tests and applications and manage your accounts using a webapp.

Code samples

Language
Example
using mailslurp.Api;
using mailslurp.Client;
using mailslurp.Model;

var config = new Configuration();
config.ApiKey.Add("x-api-key", "your_api_key_here");

var apiInstance = new InboxControllerApi(config);
var inbox = apiInstance.CreateInbox();

Assert.NotNull(inbox);
Assert.Contains("@mailslurp.com", inbox.EmailAddress);

Get started