如何在C#中读取签名的Outlook消息文件正文文本 [英] How to read the signed outlook message file body text in C#

查看:124
本文介绍了如何在C#中读取签名的Outlook消息文件正文文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai,



我们有像文档预览这样的要求。在那些,我们还需要在预览窗格中显示Outlook消息文件(.msg)正文文本。为此我已使用以下链接从Codeproject文章中获取代码用C#读取Outlook MSG文件。 [ ^ ]



使用上面的代码,我可以显示.msg文件的正文。但是如果.msg文件是数字签名的,那么.msg文件的BodyText(纯文本和Rtf类型文本)就会变空。



1)如何查找天气这个.msg文件是否已签名?



2)如何获取已签名的.msg文件正文?



请帮助我这方面我是这类新手一次。



谢谢。

Hai,

we have a requirement like document preview. In those, we also need to show outlook Message files(.msg) Body text as like in preview pane.For that i have taken the code from Codeproject article using following link Reading an Outlook MSG File in C# .[^]

Using the above code i can able to show the body of the .msg file. But if the .msg file is Digitally signed then the BodyText (plain text and Rtf type text) of the .msg file comes Empty.

1)how to find weather this that .msg file is signed or not ?

2) How to get the signatured .msg file body text?

Please help me in this regard i am new to this type of once.

Thank you.

推荐答案

https://github.com/Sicos1977/MSGReader [ ^ ]


在VB.Net或C#中读取Outlook文件或Outlook消息


这篇关于如何在C#中读取签名的Outlook消息文件正文文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆