Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

Zaczero/10MinuteMail.net

Repository files navigation

10MinuteMail.net

Build Status GitHub Release NuGet Release License

Simple HTTP API wrapper for 10minutemail.net

🌤️ Installation

Install with NuGet (recommended)

Install-Package 10MinuteMail.net-API

Install with dotnet

dotnet add PROJECT package 10MinuteMail.net-API

Install manually

Browse latest GitHub release

🏁 Getting started

Sample code

var tenMinuteMail = new TenMinuteMail();

// current email address
var email = tenMinuteMail.GetEmailAddress().Result;
// fetch emails from the inbox
var emails = tenMinuteMail.GetEmails().Result;

// regenerated email address
tenMinuteMail.GenerateNewEmailAddress().Wait();

// current email address (after regeneration)
var email2 = tenMinuteMail.GetEmailAddress().Result;

// extend expiration time to 100 minutes
tenMinuteMail.Reset100Minutes().Wait();

// 6000 seconds (== 100 minutes)
var seconds = tenMinuteMail.GetSecondsLeft().Result;

Footer

📧 Contact

📃 License