.msg文件和.eml文件之间的区别 [英] Difference between a .msg file and a .eml file

查看:447
本文介绍了.msg文件和.eml文件之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

.msg文件和.eml文件有什么区别?

What are the difference between a .msg file and a .eml file?


  1. 我知道eml是一个文本文件,而msg不是。

  2. 都可以在Outlook中打开。

  3. Outlook允许您将电子邮件保存为.msg,但我没有找到一个保存为eml的选项。

是否有什么是msg能力,哪个eml不是,反之亦然?

Is there anything that msg is capable and which eml is not and vice versa?

推荐答案

MSG是一个二进制OLE存储文件(IStorage)。与MIME(EML)不同,它存储MIME无法存储的所有MAPI特定属性。 EML文件是MIME格式的文本文件(您可以在记事本中打开一个文件)。

MSG is a binary OLE storage file (IStorage). Unlike MIME (EML), it stores all MAPI specific properties that MIME cannot store. EML files are text files in the MIME format (you can open a file like that in Notepad).

要创建EML文件,您可以

To create an EML file, you can either


  1. 在代码中明确创建一个MIME标题/部分。

  1. Create it explicitly in your code one MIME header/part at a time.

如果您在C ++或Delphi中使用扩展MAPI,可以使用 IConverterSession 接口包装本机的Outlook转换器。您可以在 OutlookSpy 中单击它,在OutlookSpy工具栏上单击IConverterSession按钮。

If you are using Extended MAPI in C++ or Delp you can use the IConverterSession interface that wraps the native Outlook converter. You can play with it in OutlookSpy - click IConverterSession button on the OutlookSpy toolbar.

您可以使用兑换及其 RDOMail SaveAs(...,olRfc822) / SafeMailItem .SaveAs(...,olRfc822)方法。

You can use Redemption and its RDOMail.SaveAs(..., olRfc822) / SafeMailItem.SaveAs(..., olRfc822) methods.

这篇关于.msg文件和.eml文件之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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