Last Comments

snorkel (Data Warehouse / …): Oracle seems like a huge …
frak (Article Bot is fi…): Well thanks for being the…
random (Article Bot is fi…): Curious Statement from th…
frak (Article Bot Spyin…): For the answer see this u…
Bob (Pivot 1.30 Alpha.…): And this is what a commen…

Archives

01 Nov - 30 Nov 2007
01 Jun - 30 Jun 2007
01 Dec - 31 Dec 2006
01 Nov - 30 Nov 2006
01 Jul - 31 Jul 2006
01 Jun - 30 Jun 2006
01 Apr - 30 Apr 2006
01 Mar - 31 Mar 2006
01 Feb - 28 Feb 2006
01 Jan - 31 Jan 2006
01 Dec - 31 Dec 2005
01 Oct - 31 Oct 2005
01 Sep - 30 Sep 2005
01 Aug - 31 Aug 2005
01 Feb - 28 Feb 2005
01 Jan - 31 Jan 2005

Miscellany

Powered by Pivot - 1.40.5: 'Dreadwind' 
XML: RSS Feed 
XML: Atom Feed 

« A better Google Sandb… | Home | Pivot is now beta »

working with mbox from PHP

For the site that I am working on (with vBulletin) I want to be able to import a stack of emails that I have in the mbox format.

The workable but not efficient way to do this would be to use the POP3 import facility for the module I am using, however that's fine if you are not using Qmail (which for the record I am a fan of) and cannot get one of the conversion scripts to work.

So its back to doing things properly.   Enter mbox.php that can be found on PAIR (pair.php.net).  Very nice PHP library that allows working with the mbox file a lot like working with a POP3 server.

Using this I am porting the code to take input from this class instead.  Very simple, very nice.  (and more complete than I need - I do not need to edit emails as stored in the mbox for example)



No comments:


No trackbacks:

Trackback link:

Please enable javascript to generate a trackback url


  
Remember personal info?

/ Textile

this is to stop spam bots causing me pain.
 

  (Register your username / Log in)

Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.