C# Class CCNet.SourceNotifier.Gateways.MailGateway.ProductionMailGateway

Used in a production build.
Inheritance: IMailGateway
Mostra file Open project: shuruev/CCNet.Extensions

Public Methods

Method Description
ProductionMailGateway ( System.Net.Mail.MailAddress sender ) : System

Initializes a new instance.

SendMessage ( System.Net.Mail.MailAddress to, string subject, string bodyHtml ) : void

Sends a message.

Private Methods

Method Description
IDisposable ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Method Details

ProductionMailGateway() public method

Initializes a new instance.
public ProductionMailGateway ( System.Net.Mail.MailAddress sender ) : System
sender System.Net.Mail.MailAddress
return System

SendMessage() public method

Sends a message.
public SendMessage ( System.Net.Mail.MailAddress to, string subject, string bodyHtml ) : void
to System.Net.Mail.MailAddress
subject string
bodyHtml string
return void