C# 클래스 Rnwood.SmtpServer.DefaultServer

상속: Server
파일 보기 프로젝트 열기: rnwood/smtp4dev 1 사용 예제들

공개 메소드들

메소드 설명
DefaultServer ( bool allowRemoteConnection ) : System

Initializes a new SMTP server on port 25.

DefaultServer ( bool allowRemoteConnection, Ports port ) : System

Initializes a new SMTP over SSL server on the specified standard port number

DefaultServer ( bool allowRemoteConnection, X509Certificate sslCertificate ) : System

Initializes a new SMTP over SSL server on port 465 using the supplied SSL certificate.

DefaultServer ( bool allowRemoteConnection, int portNumber ) : System

Initializes a new SMTP server on the specified port number.

DefaultServer ( bool allowRemoteConnection, int portNumber, X509Certificate sslCertificate ) : System

Initializes a new SMTP over SSL server on the specified port number using the supplied SSL certificate.

비공개 메소드들

메소드 설명
DefaultServer ( Rnwood.SmtpServer.DefaultServerBehaviour behaviour ) : System

메소드 상세

DefaultServer() 공개 메소드

Initializes a new SMTP server on port 25.
public DefaultServer ( bool allowRemoteConnection ) : System
allowRemoteConnection bool
리턴 System

DefaultServer() 공개 메소드

Initializes a new SMTP over SSL server on the specified standard port number
public DefaultServer ( bool allowRemoteConnection, Ports port ) : System
allowRemoteConnection bool
port Ports The standard port (or auto) to use.
리턴 System

DefaultServer() 공개 메소드

Initializes a new SMTP over SSL server on port 465 using the supplied SSL certificate.
public DefaultServer ( bool allowRemoteConnection, X509Certificate sslCertificate ) : System
allowRemoteConnection bool
sslCertificate System.Security.Cryptography.X509Certificates.X509Certificate The SSL certificate to use for the server.
리턴 System

DefaultServer() 공개 메소드

Initializes a new SMTP server on the specified port number.
public DefaultServer ( bool allowRemoteConnection, int portNumber ) : System
allowRemoteConnection bool
portNumber int The port number.
리턴 System

DefaultServer() 공개 메소드

Initializes a new SMTP over SSL server on the specified port number using the supplied SSL certificate.
public DefaultServer ( bool allowRemoteConnection, int portNumber, X509Certificate sslCertificate ) : System
allowRemoteConnection bool
portNumber int The port number.
sslCertificate System.Security.Cryptography.X509Certificates.X509Certificate The SSL certificate.
리턴 System