C# 클래스 SmtpServer.Protocol.MailCommand

상속: SmtpCommand
파일 보기 프로젝트 열기: cosullivan/SmtpServer 1 사용 예제들

공개 메소드들

메소드 설명
ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task

Execute the command.

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

Constructor.

비공개 메소드들

메소드 설명
GetMessageSize ( ) : int

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

메소드 상세

ExecuteAsync() 공개 메소드

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.
리턴 Task

MailCommand() 공개 메소드

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).
리턴 System