I am writing a web-based email application with imap/php and I have all the functionality done except one item: refreshing the list of folders once one is deleted using imap_deletemailbox(). When I list all the mailboxes using imap_listsubscribed(), I still see all the ones I deleted in the interface(select boxes, printed lists, etc.) Any idea as to why this is happening. I know they are actually gone because using imap_mailboxmsginfo() on them returns that that mailbox does not exist. Any help would be greatly appreciated - this is driving me nuts! Thanks!
Josh Ettwein