/// <summary>
 /// Loads the message
 /// </summary>
 /// <param name="Input">string containing the message</param>
 public void LoadMessage(string Input)
 {
     _Content = Input;
     int HeaderEnd = Input.IndexOf("\r\n\r\n");
     Header = new MIMEHeader(Input.Substring(0, HeaderEnd + 2));
     Input = Input.Substring(HeaderEnd + 2);
     Body = new MIMEBody(Input, Header);
 }
        public void LoadMessage(string Input)
        {
            _Content = Input;
            int HeaderEnd = Input.IndexOf("\r\n\r\n", StringComparison.InvariantCulture);

            Header = new MIMEHeader(Input.Substring(0, HeaderEnd + 2));
            Input  = Input.Substring(HeaderEnd + 2);
            Body   = new MIMEBody(Input, Header);
        }
Exemplo n.º 3
0
 /// <summary>
 /// Loads the message
 /// </summary>
 /// <param name="Input">string containing the message</param>
 public void LoadMessage(string Input)
 {
     _Content = Input;
     int HeaderEnd = Input.IndexOf("\r\n\r\n");
     Header = new MIMEHeader(Input.Substring(0, HeaderEnd + 2));
     Input = Input.Substring(HeaderEnd + 2);
     Body = new MIMEBody(Input, Header);
 }
Exemplo n.º 4
0
 public void LoadMessage(string Input)
 {
     _Content = Input;
     int HeaderEnd = Input.IndexOf("\r\n\r\n", StringComparison.InvariantCulture);
     Header = new MIMEHeader(Input.Substring(0, HeaderEnd + 2));
     Input = Input.Substring(HeaderEnd + 2);
     Body = new MIMEBody(Input, Header);
 }