read contents of .pst file with php

[亡魂溺海] 提交于 2019-12-10 14:17:18

问题


Is it possible to somehow use PHP to read the contents of a .pst file?


回答1:


There's a standalone program to convert PST to other formats (which may be then readable using PHP extensions, e.g. php_imap): http://www.five-ten-sg.com/libpst/

However, as Microsoft keeps changing the PST format, it's not guaranteed that you'll be able to convert all PST files.




回答2:


Exporting folders from MS Outlook (FILE -> OPEN -> IMPORT -> EXPORT TO A FILE) into plain text CSV enables easy parsing e.g. via fgetcsv function. The libpst is only supported on linux (RPM).

Format of PST file is complex and parsing it with PHP would be a tremendous job.



来源:https://stackoverflow.com/questions/3222920/read-contents-of-pst-file-with-php

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!