2015-02-19 14:46 阅读 112


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?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • 已采纳
    dsa45664 dsa45664 2015-02-19 20:13

    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.

    点赞 评论 复制链接分享