C# Class Castle.MonoRail.Framework.Services.MonoRailSmtpSender

MonoRail internal email sender service
Inheritance: IEmailSender, IServiceEnabledComponent
显示文件 Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
MonoRailSmtpSender ( ) : System

Initializes a new instance of the MonoRailSmtpSender class.

Send ( Message message ) : void

Sends a message.

Send ( string from, string to, string subject, string messageText ) : void

Sends a message.

Service ( IServiceProvider provider ) : void

Services the specified provider.

Method Details

MonoRailSmtpSender() public method

Initializes a new instance of the MonoRailSmtpSender class.
public MonoRailSmtpSender ( ) : System
return System

Send() public method

Sends a message.
public Send ( Message message ) : void
message Castle.Components.Common.EmailSender.Message Message instance
return void

Send() public method

Sends a message.
public Send ( string from, string to, string subject, string messageText ) : void
from string From field
to string To field
subject string e-mail's subject
messageText string message's body
return void

Service() public method

Services the specified provider.
public Service ( IServiceProvider provider ) : void
provider IServiceProvider The provider.
return void