LumiSoft.Net.SMTP.Server.SMTP_Session.HELO C# (CSharp) Method

HELO() private method

private HELO ( string argsText ) : void
argsText string
return void
        private void HELO(string argsText)
        {
            /* Rfc 2821 4.1.1.1
            These commands, and a "250 OK" reply to one of them, confirm that
            both the SMTP client and the SMTP server are in the initial state,
            that is, there is no transaction in progress and all state tables and
            buffers are cleared.

            Syntax:
                 "HELO" SP Domain CRLF
            */

            m_EhloName = argsText;

            ResetState();

            m_pSocket.BeginSendLine("250 " + m_pServer.HostName + " Hello [" + this.RemoteEndPoint.Address.ToString() + "]",new SocketCallBack(this.EndSend));
            m_CmdValidator.Helo_ok = true;
        }