C# 클래스 SmtpServer.Protocol.EhloCommand

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

공개 메소드들

메소드 설명
EhloCommand ( string domainOrAddress, ISmtpServerOptions options ) : System.Collections.Generic

Constructor.

ExecuteAsync ( ISmtpSessionContext context, CancellationToken cancellationToken ) : Task

Execute the command.

비공개 메소드들

메소드 설명
GetExtensions ( ISmtpSessionContext session ) : IEnumerable

Gets the list of extensions.

IsPlainLoginAllowed ( ISmtpSessionContext session ) : bool

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

메소드 상세

EhloCommand() 공개 메소드

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

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