C# 클래스 Subtext.Extensibility.Providers.EmailProvider

Provides a class used to handle email.
상속: System.Configuration.Provider.ProviderBase
파일 보기 프로젝트 열기: ayende/Subtext 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

Initialize() 공개 메소드

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.
리턴 void

Instance() 공개 정적인 메소드

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

Send() 공개 추상적인 메소드

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