Re: read/write a mbox file
Re: read/write a mbox file
- Subject: Re: read/write a mbox file
- From: Daniel Ström <email@hidden>
- Date: Sat, 11 Mar 2006 18:49:43 +0100
Hi!
I didn't expect to make simultaneous access to an mbox from two or
more applications.
However Mail.app uses the mbox format, and I have lots of mail with
anomalities in the, that would be nice to correct.
It's okay to quit Mail.app before running such a utility.
It's not possible to choose maildir format, since that's what
Mail.app does not use. I like using Mail.app, but I would also like
to get rid of some anomalities in certain mails. I have other
programming project, and don't really have the time to find out
everything about the mbox format. Therefore it would be nice to have
a framework to use, or maybe be able to write a plugin to Mail.app
that can do what I want.
Then there could be another plugin to make backup archives of ones
mail. That would solve mr Chayapathis problem as well.
Best regards
Daniel Strom
11 mar 2006 kl. 17.55 skrev Ben Kennedy:
Daniel Ström wrote at 5:52 pm (+0100) on 11 3 2006:
File a bug with Apple, that states that they should make a public API
for reading and writing mbox files.
They already have code, for reading and writing mbox files, in
Mail.app. They could easily make a framework of that code, and make
it accessible by all developers. If they did, then lots of other
developers could benefit from this also, to make other tools for
manipulating mail boxes (eg correcting mails with incorrect charsets,
wrong dates and other problems).
mbox is a crappy format, not the least of which it precludes random
access by multiple processes, is volatile in that the deletion/
corruption of a single file takes down the entire mail store, etc.
Use
maildir instead.
-ben
--
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden