使用FileUpload控件读取Outlook消息(* .msg)文件 [英] To read a Outlook Message (*.msg) file using FileUpload control

查看:83
本文介绍了使用FileUpload控件读取Outlook消息(* .msg)文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个req。在我的项目中,在使用FileUpload控件上传文件后必须读取保存的邮件主题和其他相关信息。



任何建议请参阅。

是否有可能将上传的文件转换为MailMessage?

I have a req. in my project that a saved mail message''s subject and other related informations must be read after the file has been uploaded using a FileUpload control.

Any suggestions pls.
Is there a possibility of casting the uploaded file into a MailMessage ??

推荐答案

文件上传与文件类型无关正在上传。它用于上传文件。上传后,您需要解析.msg文件。查看这些参考资料

阅读Outlook MSG文件在C# [ ^ ]

http:// dotnet.dzone.com/articles/how-parse-and-view-outloook-ms [ ^ ]
File upload has nothing to do with the type of file being uploaded. It is used to upload the file. Once it is uploaded you need to parse the .msg file. Check these references
Reading an Outlook MSG File in C#[^]
http://dotnet.dzone.com/articles/how-parse-and-view-outloook-ms[^]


这篇关于使用FileUpload控件读取Outlook消息(* .msg)文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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