Hi Patrik!
Zend_Mail_List was merged with Zend_Mail_Abstract. Guess I should
update the proposal. As a short example how you can use the class now:
Zend::loadClass('Zend_Mail_Mbox');
$mail = new Zend_Mail_Mbox(array('filename' => 'foo.mbox'));
echo count($mail), " mails in your mbox file\n";
foreach($mail as $message) {
echo $message->subject, "\n";
}
ad IMAP. I have an easy and simple parser for the responses done - I
"only" need to add the countless methods for the different requests.
As soon as I have time I'll check in the current code. It's just
Zend_Mail_Transport_Imap, so you can't use it like Zend_Mail_Pop3
yet, but maybe someone can review my parsing approach or find an even
better one.
As long as you don't need folders you could also use Zend_Mail_[Mbox|
Pop3] for first experiments.
nico
[20.09.2006 15:56] Patrik Henningsson wrote:
Hi Nico,
I've tried your classes out .. first i tried the svn-version but your
examples doesn't work with that since Zend_Mail_List seems lost.
But with release 0.1.5 it works .. but pretty much functionallity
is missing.
How far have you got making IMAP work?
It would be really nice to build the application on top of your
classes ..
On 9/20/06, Nico Edtinger <[EMAIL PROTECTED]> wrote:
Hi!
If you have any questions about the upcoming zend mail classes don't
hesitate to ask. The proposal for that stuff, if you haven't seen it
yet: http://framework.zend.com/wiki/display/ZFPROP/Zend_Mail_Read
+Proposal+-+Nico+Edtinger
I must admit I was busy the last weeks with an other project (and
being on holiday), but I haven't stopped working on it.
nico
[19.09.2006 15:20] Patrik Henningsson wrote:
> Hi folks,
>
> Anyone going in the same thoughts as me of building a sweet
> lightweight ZF-based webmail?
> I'm really tired of the messy code in Horde/IMP, Squirrelmail and
> similar ..
> Hopefully this could lead to some positive reactions about the
> Framework in the PHP-community and could be studied as a
> demo-application?
>
> --
> /Patrik
--
/Patrik