Javamail - MBOX problem
Countach <[email protected]>
| Newsgroups | gmane.comp.java.classpath.extensions.javamail |
|---|---|
| Message-ID | <[email protected]> |
Hi, I notice that the folder name for MBOXes is the full absolute path name. This seems to me to be a really bad idea. Firstly, it means that folder names do not remain constant when the folder hierarchy moves. Secondly, it doesn't make much sense to the user - he doesn't care about the full path, he only wants to know the relative path from the top. Thirdly, folder names change when mounted by different operating systems. I have implemented a MS PST mail format javamail plugin, that uses libpst and is built on top of gnu mbox plugin. It uses readpst.exe to extract the files to a tmp directory of mbox files. The trouble is, the folder name keeps changing every time it is opened because it is a tmp directory. It seems to me MBOX should be changed to use relative path names and use a consistent "/" path separator. If I make this change will the patch be accepted?