메소드 | 설명 | |
---|---|---|
AllowUnsecureAuthentication ( bool value = true ) : |
Sets a value indicating whether authentication should be allowed on an unsecure session.
|
|
Build ( ) : ISmtpServerOptions |
Builds the options that have been set and returns the built instance.
|
|
Certificate ( |
Sets the X509 certificate to use when starting a TLS session.
|
|
Endpoint ( |
Adds an endpoint to listen on.
|
|
MailboxFilter ( IMailboxFilterFactory mailboxFilterFactory ) : |
Adds a mailbox filter factory.
|
|
MaxMessageSize ( int maxMessageSize ) : |
Sets the maximum message size.
|
|
MessageStore ( IMessageStoreFactory messageStoreFactory ) : |
Adds a message store factory.
|
|
Port ( ) : |
Adds an endpoint with the given port.
|
|
ServerName ( string serverName ) : |
Sets the server name.
|
|
UserAuthenticator ( IUserAuthenticator userAuthenticator ) : |
Sets the User Authenticator.
|
public AllowUnsecureAuthentication ( bool value = true ) : |
||
value | bool | true if the AUTH command is available on an unsecure session, false if not. |
리턴 |
public Certificate ( |
||
serverCertificate | The server's certificate to use when starting a TLS session. | |
리턴 |
public Endpoint ( |
||
endpoint | The endpoint to listen on. | |
리턴 |
public MailboxFilter ( IMailboxFilterFactory mailboxFilterFactory ) : |
||
mailboxFilterFactory | IMailboxFilterFactory | The mailbox filter factory to add. |
리턴 |
public MaxMessageSize ( int maxMessageSize ) : |
||
maxMessageSize | int | The maximum message size to allow. |
리턴 |
public MessageStore ( IMessageStoreFactory messageStoreFactory ) : |
||
messageStoreFactory | IMessageStoreFactory | The message store factory to use. |
리턴 |
public ServerName ( string serverName ) : |
||
serverName | string | The name of the server. |
리턴 |
public UserAuthenticator ( IUserAuthenticator userAuthenticator ) : |
||
userAuthenticator | IUserAuthenticator | The user authenticator. |
리턴 |