C# Class Subtext.Extensibility.Providers.EmailProvider

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

Instance() public static méthode

Returns the currently configured Email Provider.
public static Instance ( ) : EmailProvider
Résultat EmailProvider

Send() public abstract méthode

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