C# Class MMDB.RazorEmail.EmailSender

Inheritance: IEmailSender
Mostrar archivo Open project: mmooney/MMDB.RazorEmail Class Usage Examples

Private Properties

Property Type Description
GetSmtpClient System.Net.Mail.SmtpClient
SendEmail void

Public Methods

Method Description
EmailSender ( ) : System
EmailSender ( EmailServerSettings emailServerSettings ) : System
SendEmail ( EmailServerSettings settings, string subject, string body, IEnumerable toAddressList, System.Net.Mail.MailAddress fromAddress ) : void
SendEmail ( string subject, string body, IEnumerable toAddressList, System.Net.Mail.MailAddress fromAddress ) : void
SendEmail ( string subject, string body, IEnumerable toAddressList, string fromAddress ) : void

Private Methods

Method Description
GetSmtpClient ( EmailServerSettings emailServerSettings ) : SmtpClient
SendEmail ( EmailServerSettings emailServerSettings, string subject, string body, IEnumerable toAddressList, string fromAddress, EmailAttachmentData attachments ) : void

Method Details

EmailSender() public method

public EmailSender ( ) : System
return System

EmailSender() public method

public EmailSender ( EmailServerSettings emailServerSettings ) : System
emailServerSettings EmailServerSettings
return System

SendEmail() public method

public SendEmail ( EmailServerSettings settings, string subject, string body, IEnumerable toAddressList, System.Net.Mail.MailAddress fromAddress ) : void
settings EmailServerSettings
subject string
body string
toAddressList IEnumerable
fromAddress System.Net.Mail.MailAddress
return void

SendEmail() public method

public SendEmail ( string subject, string body, IEnumerable toAddressList, System.Net.Mail.MailAddress fromAddress ) : void
subject string
body string
toAddressList IEnumerable
fromAddress System.Net.Mail.MailAddress
return void

SendEmail() public method

public SendEmail ( string subject, string body, IEnumerable toAddressList, string fromAddress ) : void
subject string
body string
toAddressList IEnumerable
fromAddress string
return void