C# Class Subtext.Extensibility.Providers.EmailProvider

Provides a class used to handle email.
Inheritance: System.Configuration.Provider.ProviderBase
Mostrar archivo Open project: ayende/Subtext Class Usage Examples

Public Methods

Method Description
Initialize ( string name, NameValueCollection configValue ) : void

Initializes the specified provider.

Instance ( ) : EmailProvider

Returns the currently configured Email Provider.

Send ( string to, string from, string subject, string message ) : bool

Sends an email.

Method Details

Initialize() public method

Initializes the specified provider.
public Initialize ( string name, NameValueCollection configValue ) : void
name string Friendly Name of the provider.
configValue System.Collections.Specialized.NameValueCollection Config value.
return void

Instance() public static method

Returns the currently configured Email Provider.
public static Instance ( ) : EmailProvider
return EmailProvider

Send() public abstract method

Sends an email.
public abstract Send ( string to, string from, string subject, string message ) : bool
to string
from string
subject string
message string
return bool