简体   繁体   English

C# Outlook MailItem 对象到字节数组而不将 Outlook MailItem 保存为 msg 文件

[英]C# Outlook MailItem object to byte array without saving Outlook MailItem as a msg file

In Outlook add-in I want to convert mailItem object to byte array.在 Outlook 加载项中,我想将 mailItem 对象转换为字节数组。 It is possible to do this without save mailItem to a specific msg file first and read this file, etc..., or use a third party dll?可以在不首先将 mailItem 保存到特定 msg 文件并读取此文件等的情况下执行此操作,或者使用第三方 dll? If it possible, then how?如果可以,那怎么做?

I already try to find a solution to this, but unfortunately without any success.我已经尝试找到解决方案,但不幸的是没有任何成功。

Thx.谢谢。

您是否使用 MSG 格式 - 它保留了最多的消息属性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM