Esempio n. 1
0
        public void GetMessage(MimeMessage aMimeMessage)
        {
            if(aMimeMessage == null)
                throw new ArgumentNullException();

            aMimeMessage.LoadBody(mContent);
        }
Esempio n. 2
0
 public void SetMessage(MimeMessage aMimeMessage)
 {
     StringBuilder sb = new StringBuilder();
     aMimeMessage.StoreBody(sb);
     mContent = sb.ToString();
     SetContentType("message/rfc822");
 }