An open API service indexing awesome lists of open source software.

https://github.com/ptraced/tmail-unofficial-library

TMail Unofficial Library
https://github.com/ptraced/tmail-unofficial-library

codecanyon tmail

Last synced: about 1 year ago
JSON representation

TMail Unofficial Library

Awesome Lists containing this project

README

          

# TMail-Unofficial-Library

# Usage

```
//init client
TMail client = new TMailClient("https://urltmail.url", "APIKEY HERE");

//gen new email GenerateEmail(int length)
var email = await client.GenerateEmail(8);

//check
var emails = await client.CheckEmail(email); // Will return Waiting until emails arrive.
while (await client.CheckEmail(email) == "Waiting.")
{
await Task.Delay(1000);
}

Console.WriteLine(emails);
```

# Install via Nuget
```cs
Install-Package TMail.API
```