Skip to content

SmailPro Library c#, create temp email and check mailbox auto

License

Notifications You must be signed in to change notification settings

msc0d3/SmailProLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmailProLib

SmailPro Library c#, easy to use

  • create temp email from smailpro
  • check mailbox ( return raw response )
  • asynchronous method image

Installation

Download release and add SmailproLib.dll to you project references

Usage

To create new smailpro config :

SmailProConfig config = new SmailProConfig();

set data for config :

config.username = SmailProConfig.randomUserName;

OR

config.username = "username";
config.domain = SmailProConfig.randomDomain;

OR

config.domain = "domain";
// domains list : { "cardgener.com", "ugener.com", "ychecker.com", "storegmail.com", "instasmail.com" }

To create new smailpro session :

Smailpro smailpro = new Smailpro(config);
var isSuccessCreateTask = smailpro.CreateTask();

To get result :

Task<SmailProResponse> taskCheckEmail = null;
taskCheckEmail = smailpro.GetResult();
if (taskCheckEmail.Result.Status == SmailProResponse.StatusCode.Success)
{
  Console.WriteLine($"[] Email : {smailpro.Auth.email} ===> {taskCheckEmail.Result.RawText}");
}
else
{
  Console.WriteLine("Unknow Error");
}

when all is done

Using taskCheckEmail.Dispose(); to finish mail session and clean temp data !

Other example ( real time check email ... etc )

view this : Example Program

Credit : Copyright (c) 2021 Nguyen Dac Tai Pro

Donate

if this project helpful you , you can donate me at :

Bank

2129296886 / TECHCOM BANK / NGUYEN DAC TAI

BTC ( BSC - BEP20 ) : 0x6afb8d70813d6b9257036275585e35a2d15db01b

BTC ( BTC ) : 12sNiCFoF31sfVZCuiTof1PfyDqAGt7YT7

About

SmailPro Library c#, create temp email and check mailbox auto

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages