C# Class SmtpServer.Protocol.MailCommand

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

Méthodes publiques

Méthode Description
ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task

Execute the command.

MailCommand ( IMailbox address, string>.IDictionary parameters, IMailboxFilterFactory mailboxFilterFactory, int maxMessageSize ) : System

Constructor.

Private Methods

Méthode Description
GetMessageSize ( ) : int

Gets the estimated message size supplied from the ESMTP command extension.

Method Details

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

MailCommand() public méthode

Constructor.
public MailCommand ( IMailbox address, string>.IDictionary parameters, IMailboxFilterFactory mailboxFilterFactory, int maxMessageSize ) : System
address IMailbox The address.
parameters string>.IDictionary The list of extended (ESMTP) parameters.
mailboxFilterFactory IMailboxFilterFactory The mailbox filter factory to create the filters from.
maxMessageSize int The maximum message size (0 for no limit).
Résultat System