BitServer.SMTPconnection.msg C# (CSharp) Method

msg() public method

public msg ( byte raw ) : void
raw byte
return void
        public void msg(byte[][] raw)
        {
            foreach (byte[] b in raw)
            {
                sendraw(b);
            }
        }

Same methods

SMTPconnection::msg ( int number, string Message ) : void

Usage Example

Example #1
0
 protected static void Ssrv_SMTPincomming(System.Net.Sockets.TcpClient c)
 {
     if (SMTP == null)
     {
         myAddr            = Bitmessage.getAddresses(BitAPIserver.BA);
         SMS               = new SMTPstate();
         SMTP              = new SMTPconnection(c);
         SMTP.SMTPcommand += new SMTPcommandHandler(SMTP_SMTPcommand);
         SMTP.SMTPdropped += new SMTPdroppedHandler(SMTP_SMTPdropped);
         SMTP.msg(220, "WAKE UP BITCH! I'M READY TO KICK ASS, AND IT BETTER BE IMPORTANT");
     }
     else
     {
         SMTPconnection temp = new SMTPconnection(c);
         temp.msg(421, "Try again later you fool!");
         temp.close();
     }
 }
All Usage Examples Of BitServer.SMTPconnection::msg