C# 클래스 netDumbster.smtp.SimpleSmtpServer

Simple Smtp Server
파일 보기 프로젝트 열기: cmendible/netDumbster 1 사용 예제들

Private Properties

프로퍼티 타입 설명
SimpleSmtpServer System
SimpleSmtpServer System
SimpleSmtpServer System
Start SimpleSmtpServer
StartListening void
_SocketHandler void

공개 메소드들

메소드 설명
ClearReceivedEmail ( ) : void

Clears the received email.

Dispose ( ) : void
Start ( ) : SimpleSmtpServer

Starts this instance.

Start ( bool useMessageStore ) : SimpleSmtpServer

Starts the specified use message store.

Start ( int port ) : SimpleSmtpServer

Starts server listening to the specified port.

Start ( int port, bool useMessageStore ) : SimpleSmtpServer

Starts the specified port.

Start ( int port, bool useMessageStore, int processingDelayInMilliseconds ) : SimpleSmtpServer

Starts the specified port.

Start ( int port, int processingDelayInMilliseconds ) : SimpleSmtpServer

Starts server listening to the specified port with a simulated delay when processing a new SMTP message.

Stop ( ) : void

Stop the server. This notifies the listener to stop accepting new connections and that the loop should exit.

비공개 메소드들

메소드 설명
SimpleSmtpServer ( Configuration configuration ) : System
SimpleSmtpServer ( int port ) : System

Initializes a new instance of the SimpleSmtpServer class.

SimpleSmtpServer ( int port, bool useMessageStore ) : System

Prevents a default instance of the SimpleSmtpServer class from being created.

Start ( Configuration configuration ) : SimpleSmtpServer
StartListening ( ) : void

Starts the Server

_SocketHandler ( IAsyncResult result ) : void

Async Socket handler.

메소드 상세

ClearReceivedEmail() 공개 메소드

Clears the received email.
public ClearReceivedEmail ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Start() 공개 정적인 메소드

Starts this instance.
public static Start ( ) : SimpleSmtpServer
리턴 SimpleSmtpServer

Start() 공개 정적인 메소드

Starts the specified use message store.
public static Start ( bool useMessageStore ) : SimpleSmtpServer
useMessageStore bool if set to true [use message store].
리턴 SimpleSmtpServer

Start() 공개 정적인 메소드

Starts server listening to the specified port.
public static Start ( int port ) : SimpleSmtpServer
port int The port.
리턴 SimpleSmtpServer

Start() 공개 정적인 메소드

Starts the specified port.
public static Start ( int port, bool useMessageStore ) : SimpleSmtpServer
port int The port.
useMessageStore bool if set to true [use message store].
리턴 SimpleSmtpServer

Start() 공개 정적인 메소드

Starts the specified port.
public static Start ( int port, bool useMessageStore, int processingDelayInMilliseconds ) : SimpleSmtpServer
port int The port.
useMessageStore bool if set to true [use message store].
processingDelayInMilliseconds int The number of milliseconds to wait before processing a new SMTP message
리턴 SimpleSmtpServer

Start() 공개 정적인 메소드

Starts server listening to the specified port with a simulated delay when processing a new SMTP message.
public static Start ( int port, int processingDelayInMilliseconds ) : SimpleSmtpServer
port int The port.
processingDelayInMilliseconds int The number of milliseconds to wait before processing a new SMTP message
리턴 SimpleSmtpServer

Stop() 공개 메소드

Stop the server. This notifies the listener to stop accepting new connections and that the loop should exit.
public Stop ( ) : void
리턴 void