支持附件的最普遍可导入的电子邮件文件格式?
I am in the process of creating a webmail export script in PHP. The reason we want to export the e-mails is that we intend to retire the webmail functionality from our site, and we want our users to have access to an archive of their mail.
I have created a script that successfully exports a user's e-mail in the .eml file format, and it works great if the files are imported into Mozilla Thunderbird or Windows Live mail. Microsoft Outlook, however, does not handle the attachments correctly. In Outlook 2007 an attached spreadsheet is not even recognized or displayed at all.
I found this information, which indicates that older versions of Outlook need to be up to date for .eml files to be recognized properly, but the aforementioned results are achieved when using an up to date Windows 7 PC.
My question: Is there a better format for e-mail archive files that will work in Outlook as well as the other most used e-mail software/services?
我正在使用PHP创建Webmail导出脚本。 我们想要导出电子邮件的原因是我们打算从我们的网站上淘汰网络邮件功能,我们希望我们的用户可以访问他们邮件的存档。 p>
我创建了一个成功导出.eml文件格式的用户电子邮件的脚本,如果将文件导入Mozilla Thunderbird或Windows Live邮件,它的效果很好。 但是,Microsoft Outlook无法正确处理附件。 在Outlook 2007中,甚至无法识别或显示附加的电子表格。 p>
我发现此信息,表示旧版本的Outlook需要更新才能正确识别.eml文件,但使用最新的Windows 7 PC时可以实现上述结果。 p>
我的问题: 是否有更好的格式可以在Outlook中使用的电子邮件存档文件以及其他最常用的电子邮件软件/服务? p>
Outlook should be able to handle EML files just fine. What is the actual MIME header of the MIME part that Outlook cannot handle?
You can also use MSG file format, but it is as binary as it gets, and only Outlook can understand it.