Method | Description | |
---|---|---|
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. |
return |
public Certificate ( |
||
serverCertificate | The server's certificate to use when starting a TLS session. | |
return |
public Endpoint ( |
||
endpoint | The endpoint to listen on. | |
return |
public MailboxFilter ( IMailboxFilterFactory mailboxFilterFactory ) : |
||
mailboxFilterFactory | IMailboxFilterFactory | The mailbox filter factory to add. |
return |
public MaxMessageSize ( int maxMessageSize ) : |
||
maxMessageSize | int | The maximum message size to allow. |
return |
public MessageStore ( IMessageStoreFactory messageStoreFactory ) : |
||
messageStoreFactory | IMessageStoreFactory | The message store factory to use. |
return |
public ServerName ( string serverName ) : |
||
serverName | string | The name of the server. |
return |
public UserAuthenticator ( IUserAuthenticator userAuthenticator ) : |
||
userAuthenticator | IUserAuthenticator | The user authenticator. |
return |