Exemplo n.º 1
0
        public Session(SimpleSocket socket, MailMessageHandler messageEvent)
        {
            this.Socket           = socket;
            this.MessageRecieved += messageEvent;

            Socket.SendString(SmtpCommandUtils.SV_GREET);
        }
Exemplo n.º 2
0
 public Session(SimpleSocket socket, MailMessageHandler messageEvent, SenderAllowedHandler recipientEvent)
 {
     this.Socket = socket;
     this.MessageRecieved += messageEvent;
     this.RecipientFound += recipientEvent;
     Socket.SendString(SmtpCommandUtils.SV_GREET);
 }
Exemplo n.º 3
0
        public Session(SimpleSocket socket, MailMessageHandler messageEvent)
        {
            this.Socket = socket;
            this.MessageRecieved += messageEvent;

            Socket.SendString(SmtpCommandUtils.SV_GREET);
        }