C# Class Codestellation.Ether.Transport.SmtpSender

Inheritance: IEmailSender, IDisposable
Show file Open project: Codestellation/Ether Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
SendAsync ( Email email ) : void
SmtpSender ( ) : System
SmtpSender ( SmtpClient smtpSmtpClient ) : System

Private Methods

Method Description
Create ( Email email ) : MailMessage
OnCompleted ( AsyncCompletedEventArgs args ) : void
SendCompleted ( object sender, AsyncCompletedEventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

SendAsync() public method

public SendAsync ( Email email ) : void
email Codestellation.Ether.Core.Email
return void

SmtpSender() public method

public SmtpSender ( ) : System
return System

SmtpSender() public method

public SmtpSender ( SmtpClient smtpSmtpClient ) : System
smtpSmtpClient System.Net.Mail.SmtpClient
return System