C# 클래스 LumiSoft.Net.SMTP.Server.SMTP_Session

This class implements SMTP session. Defined RFC 5321.
상속: LumiSoft.Net.TCP.TCP_ServerSession
파일 보기 프로젝트 열기: jeske/StepsDB-alpha 1 사용 예제들

공개 메소드들

메소드 설명
OnSessionTimeout ( ) : void

Is called by server when session has timed out.

비공개 메소드들

메소드 설명
AUTH ( string argsText ) : void
BeginBDATCmd ( string argsText ) : void
BeginDataCmd ( string argsText ) : void
BeginRecieveCmd ( ) : void

Starts recieveing command.

EHLO ( string argsText ) : void
EXPN ( ) : void
EndBDatCmd ( SocketCallBackResult result, long count, Exception exception, object tag ) : void
EndDataCmd ( SocketCallBackResult result, long count, Exception exception, object tag ) : void

Is called when DATA command is finnished.

EndRecieveCmd ( SocketCallBackResult result, long count, Exception exception, object tag ) : void

Is called if command is recieved.

EndSend ( SocketCallBackResult result, long count, Exception exception, object tag ) : void

Is called when asynchronous send completes.

EndSession ( ) : void

Ends session, closes socket.

HELO ( string argsText ) : void
HELP ( ) : void
MAIL ( string argsText ) : void
NOOP ( ) : void
OnError ( Exception x ) : void

Is called when error occures.

OnSocketActivity ( object sender, EventArgs e ) : void

Is called if there was some activity on socket, some data sended or received.

QUIT ( string argsText ) : void
RCPT ( string argsText ) : void
RSET ( string argsText ) : void
ResetState ( ) : void
SMTP_Session ( Socket clientSocket, SMTP_Server server, SocketLogger logWriter ) : System

Default constructor.

StartSession ( ) : void

Starts session.

SwitchCommand ( string SMTP_commandTxt ) : bool

Executes SMTP command.

VRFY ( ) : void

메소드 상세

OnSessionTimeout() 공개 메소드

Is called by server when session has timed out.
public OnSessionTimeout ( ) : void
리턴 void