From: Andrew Morgan (no email)
Date: Mon Mar 19 2007 - 19:38:39 EDT
On Mon, 19 Mar 2007, brian wrote:
> I'm fiddling with the woefully under-documented PHP IMAP functions and cannot
> figure out how to do this. I can connect just fine to INBOX, list the
> headers, etc. but my target mails are a couple of directories further down.
> I'd like to somehow do the equivalent of chdir once i've made a connection.
>
> Does anyone know how i can achieve this?
PHP hides the IMAP Select command well, but I'm pretty sure you want to
use imap_reopen(). See the docs at:
http://www.php.net/manual/en/function.imap-reopen.php
Andy
---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
|
|
|