C# Class SmtpServer.Protocol.EhloCommand

Inheritance: SmtpCommand
Afficher le fichier Open project: cosullivan/SmtpServer Class Usage Examples

Méthodes publiques

Méthode Description
EhloCommand ( string domainOrAddress, ISmtpServerOptions options ) : System.Collections.Generic

Constructor.

ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task

Execute the command.

Private Methods

Méthode Description
GetExtensions ( ISmtpSessionContext session ) : IEnumerable

Gets the list of extensions.

IsPlainLoginAllowed ( ISmtpSessionContext session ) : bool

Returns a value indicating whether or not plain login is allowed.

Method Details

EhloCommand() public méthode

Constructor.
public EhloCommand ( string domainOrAddress, ISmtpServerOptions options ) : System.Collections.Generic
domainOrAddress string The domain name or address literal.
options ISmtpServerOptions The list of server options.
Résultat System.Collections.Generic

ExecuteAsync() public méthode

Execute the command.
public ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task
context ISmtpSessionContext The execution context to operate on.
cancellationToken System.Threading.CancellationToken The cancellation token.
Résultat Task