Свойство | Тип | Описание | |
---|---|---|---|
SimpleSmtpServer | System | ||
SimpleSmtpServer | System | ||
SimpleSmtpServer | System | ||
Start | |||
StartListening | void | ||
_SocketHandler | void |
Метод | Описание | |
---|---|---|
ClearReceivedEmail ( ) : void |
Clears the received email.
|
|
Dispose ( ) : void | ||
Start ( ) : |
Starts this instance.
|
|
Start ( bool useMessageStore ) : |
Starts the specified use message store.
|
|
Start ( int port ) : |
Starts server listening to the specified port.
|
|
Start ( int port, bool useMessageStore ) : |
Starts the specified port.
|
|
Start ( int port, bool useMessageStore, int processingDelayInMilliseconds ) : |
Starts the specified port.
|
|
Start ( int port, int processingDelayInMilliseconds ) : |
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 ( |
||
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 ( |
||
StartListening ( ) : void |
Starts the Server
|
|
_SocketHandler ( IAsyncResult result ) : void |
Async Socket handler.
|
public static Start ( ) : |
||
Результат |
public static Start ( bool useMessageStore ) : |
||
useMessageStore | bool | if set to |
Результат |
public static Start ( int port ) : |
||
port | int | The port. |
Результат |
public static Start ( int port, bool useMessageStore ) : |
||
port | int | The port. |
useMessageStore | bool | if set to |
Результат |
public static Start ( int port, bool useMessageStore, int processingDelayInMilliseconds ) : |
||
port | int | The port. |
useMessageStore | bool | if set to |
processingDelayInMilliseconds | int | The number of milliseconds to wait before processing a new SMTP message |
Результат |
public static Start ( int port, int processingDelayInMilliseconds ) : |
||
port | int | The port. |
processingDelayInMilliseconds | int | The number of milliseconds to wait before processing a new SMTP message |
Результат |