Technologies | Project | Services | License
The main idea of this project is to facilitate tests using the Mailtrap Sandbox Service during the development of features that use email sending (for .NET only).
This project is being developed with the following technologies:
It's necessary to create an account on Mailtrap.io to use this library.
It's possible to add using .NET CLI or Package Manager.
dotnet add package Mailtrap
PM> Install-Package Mailtrap
Check other alternatives on NuGet.org
using Mailtrap.Source.Models;
var mailtrap = new MailtrapSender("your username", "your password");
var email = new Email(
"to@mailtrap.io",
"from@mailtrap.io",
"Sending e-mail test using Mailtrap for .NET 📬",
"Ahoooy! It really works! 😎");
mailtrap.Send(email);
Just check our Wiki for more details and samples of how to use Mailtrap in your applications.
This project is under the MIT license. See the file LICENSE for more details.