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
- Host: GitHub
- URL: https://github.com/ptraced/tmail-unofficial-library
- Owner: ptraced
- License: gpl-3.0
- Created: 2024-06-22T20:19:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-29T12:18:59.000Z (over 1 year ago)
- Last Synced: 2025-02-09T08:31:22.368Z (over 1 year ago)
- Topics: codecanyon, tmail
- Language: C#
- Homepage: https://codecanyon.net/item/tmail-multi-domain-temporary-email-system/20177819
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```