Re: Reading filed mail from the Mail.app?
Re: Reading filed mail from the Mail.app?
- Subject: Re: Reading filed mail from the Mail.app?
- From: Markus Hitter <email@hidden>
- Date: Fri, 21 Jun 2002 06:04:51 +0200
Am Donnerstag den, 20. Juni 2002, um 22:52, schrieb Jeff Knee:
Does the command line utility 'mail' work in conjunction with
the gui mail.
app?
"mail" is capable of handling one mailbox only, Mail.app handles
several. If you redirect "mail" to the right mbox file, there
should be no problem. Mail.app's mbox files are inside
$HOME/Library/Mail/ .
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.
HTH,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
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.