Skip to content

flaviodamaiajr/mailtrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Technologies   |    Project   |    Services   |    License

Version Downloads PRs welcome! License


Event Platform

💻 Project

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

🚀 Technologies

This project is being developed with the following technologies:

🤝 Services

ℹ️ Requirements

It's necessary to create an account on Mailtrap.io to use this library.

👨‍💻 How to use

Add package

It's possible to add using .NET CLI or Package Manager.

.NET CLI

dotnet add package Mailtrap

Package Manager

PM> Install-Package Mailtrap

Check other alternatives on NuGet.org

Sample Code

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.

📝 License

This project is under the MIT license. See the file LICENSE for more details.

☕️ Support

flaviodamaiajr



About

📬 Mailtrap for .NET - Simple library to optimize email sending tests using Mailtrap Sandbox Service. ⚡

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages