C# Class Codestellation.Ether.Transport.SmtpSender

Inheritance: IEmailSender, IDisposable
Afficher le fichier Open project: Codestellation/Ether Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
SendAsync ( Email email ) : void
SmtpSender ( ) : System
SmtpSender ( SmtpClient smtpSmtpClient ) : System

Private Methods

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

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

SendAsync() public méthode

public SendAsync ( Email email ) : void
email Codestellation.Ether.Core.Email
Résultat void

SmtpSender() public méthode

public SmtpSender ( ) : System
Résultat System

SmtpSender() public méthode

public SmtpSender ( SmtpClient smtpSmtpClient ) : System
smtpSmtpClient System.Net.Mail.SmtpClient
Résultat System