• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Reading filed mail from the Mail.app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading filed mail from the Mail.app?


  • Subject: Re: Reading filed mail from the Mail.app?
  • From: Nathaniel Irons <email@hidden>
  • Date: Mon, 24 Jun 2002 17:49:25 -0400

On Fri, Jun 21, 2002 at 06:04:51AM +0200, Markus Hitter wrote:

> >Do I have to get creative with external NSTasks & Procmail & Formail?!?
>
> Probably not too much as mbox files are quite easy to parse:
> each mail begins with "From " after an empty line. Then drop
> each line beginning with one word and ":".
>
> Well, I'm not sure wether this works in 100.00% of all cases, so
> please look up the appropriate RFC.

If only it were that easy. That algorithm will work most of the time,
like crossing the street by skipping through traffic.

The relevant RFCs, starting with 2822, are too numerous to count, and
only concern themselves with wire format, not stored format. Here's a
short course:

http://cr.yp.to/immhf.html
http://www.jwz.org/doc/content-length.html

Fortunately I believe Pantomime can read mbox:

http://www.collaboration-world.com/pantomime/

-nat
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Reading filed mail from the Mail.app? (From: Jeff Knee <email@hidden>)
 >Re: Reading filed mail from the Mail.app? (From: Markus Hitter <email@hidden>)

  • Prev by Date: Re: math.h and floats.
  • Next by Date: [ANN] AutoOpen 1.0 Released
  • Previous by thread: Re: Reading filed mail from the Mail.app?
  • Next by thread: Newbie - inter object method invocation
  • Index(es):
    • Date
    • Thread