第三方工具到Outlook MSG文件转换为EML文件 [英] 3rd party utility to convert Outlook MSG files to EML files

查看:771
本文介绍了第三方工具到Outlook MSG文件转换为EML文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,使人们能够附加文件的记录。有些用户上传,涉及到有问题的记录电子邮件。所有罚款和花花公子。

I have an application that allows people to attached files to records. Some users are uploading emails that relate to the record in question. All fine and dandy.

不过,有些用户正在使用微软的Outlook和上传味精文件和其他用户正在使用Thunderbird和上传EML文件。我非常希望所有的用户上传EML文件,因为它们是互操作性,过于在移动设备上运行。

However some users are using MS Outlook and are uploading MSG files and other users are using thunderbird and upload EML files. Ideally I would like all users to upload EML files as they are interoperable and work on mobile devices too.

切到我要找来检测上传味精追逐,无论是通过扩展名或MIME类型,并转换为动态来代替EML和存储的。这是透明的,因为Outlook可以愉快地打开EML文件的用户。

cut to the chase i'm looking to detect an uploaded MSG, either via extension or MIME type and converting to on the fly to EML instead and storing that. This is transparent to the user as Outlook can open EML files happily.

有谁知道的(免费最好)的第三方命令行工具,我可以打电话做转换为了我?还是有代码C#块,我可以使用的味精转换为EML?

Does anyone know of a (free ideally) 3rd party commandline utility that I can call to do the conversion for me? Or is there a c# chunk of code I can use to convert an MSG to a EML?

感谢

推荐答案

您可以使用赎回了点。类似下面(顶掉了我的头)应该工作:

You can use Redemption for that. Something like the following (off the top off my head) should work:

  RDOSession Session = new RDOSession();
  RDOMail Msg = Session.GetMessageFromMsgFile("c:\temp\YourMsgFile.msg");
  Msg.SaveAs("c:\temp\YourEmlFile.eml", rdoSaveAsType.olRFC822);

这篇关于第三方工具到Outlook MSG文件转换为EML文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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