eneam / mboxviewer

A small but powerfull app for viewing MBOX files
Other
430 stars 24 forks source link

Reading mbox files from readonly mediums #17

Closed lucamanga closed 3 years ago

lucamanga commented 3 years ago

Hello,

it is possible to disable caching (or putting it to current user temporary directory) if the mbox files are stored in read only mediums (like CDroms, etc)?

There's any command line option about caching?

zigm commented 3 years ago

Read only media such as CDroms or read only hard drives are not supported. It might be valid functionality but you would likely be disappointed with the performance when using CDroms. MBox Viewer parses mbox mail archives and creates small index file that contains header fields only and a file pointer to the mail content . In order to view the content, the mbox viewer will read the content from the CDrom file and I suspect performance will not be great, i.e. there will be visible delay before mail content is displayed.

I will add your request to my internal request list for later consideration.

Thank You, Zbigniew

zigm commented 3 years ago

Enea, creator of mbox viewer project, suggested that the older version of the mbox viewer should work with some limitations. I verified that v1.0.3.13 will work for viewing. A number of features such as printing, exporting all attachments, opening in a browser, etc will not work without enhancements. Also, when you restart the mbox viewer, it will have to parse mbox files again since the mbox viewer is not able to save the index file after parsing. You may also see the mbox viewer reporting failures when trying to create folders but you can ignore these warning.

You can download and try v1.0.13 of the mbox viewer for now and see if it works for you. I will investigate risk and what enhancements would be needed to properly support read only media.

zigm commented 3 years ago

Just released v1.0.3.20 of the MBox Viewer to support read-only mediums such as CDs. All features including printing, exporting to PDF, CSV, TEXT and HTML files are supported. MBox Viewer requires that mbox files are saved under the named folder and not directly under the drive's root folder such as C:. This applies to both the read-only and not read-only mediums.

For not read-only medium, MBox Viewer creates index files and other files in the same folder as mbox files. The above requirement is to avoid creating application specific files in the root of the c:\ drive. Regardless of the requirement, users will typically create a folder and save mbox files in that folder. Hope it will work for you also.

For read-only medium, the enhanced MBox Viewer will create index files in C:\Users**UserName**\AppData\Local\MBoxViewer folder.

Appreciate if you evaluate the enhanced MBox Viewer and provide feedback. If you found different viewer in the meantime, I hope you find time to evaluate MBox Viewer.

Thank You, Zbigniew

zigm commented 3 years ago

Assume it works, reopen if needed.