C# Class AnglicanGeek.MarkdownMailer.MailSender

Inheritance: IMailSender
Exibir arquivo Open project: Haacked/AnglicanGeek.MarkdownMailer Class Usage Examples

Public Methods

Method Description
MailSender ( ) : System
MailSender ( MailSenderConfiguration configuration ) : System
MailSender ( SmtpClient smtpClient ) : System
Send ( System.Net.Mail.MailAddress fromAddress, System.Net.Mail.MailAddress toAddress, string subject, string markdownBody ) : void
Send ( MailMessage mailMessage ) : void
Send ( string fromAddress, string toAddress, string subject, string markdownBody ) : void

Private Methods

Method Description
ConfigureSmtpClient ( ISmtpClient smtpClient, MailSenderConfiguration configuration ) : void
MailSender ( ISmtpClient smtpClient, MailSenderConfiguration configuration ) : System

Method Details

MailSender() public method

public MailSender ( ) : System
return System

MailSender() public method

public MailSender ( MailSenderConfiguration configuration ) : System
configuration MailSenderConfiguration
return System

MailSender() public method

public MailSender ( SmtpClient smtpClient ) : System
smtpClient System.Net.Mail.SmtpClient
return System

Send() public method

public Send ( System.Net.Mail.MailAddress fromAddress, System.Net.Mail.MailAddress toAddress, string subject, string markdownBody ) : void
fromAddress System.Net.Mail.MailAddress
toAddress System.Net.Mail.MailAddress
subject string
markdownBody string
return void

Send() public method

public Send ( MailMessage mailMessage ) : void
mailMessage System.Net.Mail.MailMessage
return void

Send() public method

public Send ( string fromAddress, string toAddress, string subject, string markdownBody ) : void
fromAddress string
toAddress string
subject string
markdownBody string
return void