/// <summary>
        /// Raises <b>Started</b> event.
        /// </summary>
        /// <param name="reply">Default POP3 server reply.</param>
        /// <returns>Returns event args.</returns>
        private POP3_e_Started OnStarted(string reply)
        {
            POP3_e_Started eArgs = new POP3_e_Started(reply);

            if(this.Started != null){                
                this.Started(this,eArgs);
            }

            return eArgs;
        }
Exemple #2
0
 private void m_pPop3Server_Session_Started(object sender,POP3_e_Started e)
 {
     if(!IsAccessAllowed(Service_enum.POP3,((POP3_Session)sender).RemoteEndPoint.Address)){
         e.Response = "-ERR Your IP address is blocked.";
     }
 }