我使用redemption将outlook mailitem对象转换为.eml文件。它保存.eml文件,但有空的内容。我的代码如下。
Outlook.MailItem mailItem = Item as Outlook.MailItem;
SafeMailItem test = new SafeMailItem();
test.Item = mailItem;
test.SaveAs(@"E:\test13.eml", Redemption.RedemptionSaveAsType.olRFC822);