Re: mail mimedecode with multiple mails in one mbox file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ashley Sheridan wrote:

> On Sun, 2009-11-15 at 20:54 +0100, Per Jessen wrote:
> 
>> Ashley Sheridan wrote:
>> 
>> > Hi all,
>> > 
>> > I'm having a bit of difficulty seeing my way through this. I think
>> > I'm on the right path with mimeDecode, but I can't get it to read
>> > all of the emails in an mbox file which contains 100 emails; it
>> > only reads the first.
>> > 
>> > I've looked over the docs on pear.php.net, but can't seem to find
>> > any way to get the other 99 emails out!
>> > 
>> > Does anyone know of any way to do this,
>> 
>> Look up "formail -s"
>> 
>> 
>> /Per
>> 
>> --
>> Per Jessen, Zürich (9.0°C)
>> 
>> 
> 
> 
> Thanks, that's got me going in the right direction! There just seems
> to be no end to what you can do on a Linux console does there?!

Suggestions to the contrary would be heresy. :-[

formail has helped me a number of times when dealing with a mailbox
file, I'm pretty certain it'll do what you want.


/Per


-- 
Per Jessen, Zürich (10.1°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux