public void GetMessage(MimeMessage aMimeMessage) { if(aMimeMessage == null) throw new ArgumentNullException(); aMimeMessage.LoadBody(mContent); }
public void SetMessage(MimeMessage aMimeMessage) { StringBuilder sb = new StringBuilder(); aMimeMessage.StoreBody(sb); mContent = sb.ToString(); SetContentType("message/rfc822"); }