Skip to content

reubinoff/GuerrillaSharp

 
 

Repository files navigation

Deploy NuGet Package to GitHub Releases Nuget

GuerrillaMail API

This class provides an interface to interact with the Guerrilla Mail API. Guerrilla Mail is a service that provides disposable email addresses.

https://www.nuget.org/packages/GuerrillaSharp7/

Methods

  • GetEmailAddress(): Fetches a new email address from the Guerrilla Mail API and stores it in the MailData property.

  • CheckEmail(): Checks for new emails in the current email session and updates the MailData property.

  • CheckAndGetEmails(): Checks for new emails and returns a list of all emails in the current email session.

  • CheckAndGetEmails(string fromAddr): Checks for new emails and returns a list of all emails from the specified address.

  • CheckAndWaitForMailFromAddr(string fromAddr, int timeout = 60): Checks for new emails from the specified address and waits until an email is received or the timeout is reached.

  • FetchEmail(string id): Fetches a specific email by its ID.

Usage

To use this class, create a new GuerrillaMail object and call its methods. For example:

var guerrillaMail = new GuerrillaMail();
var emails = guerrillaMail.CheckAndGetEmails();

About

C# Library for GuerrillaMail API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%