[imp] How to add two new Special folders?
Federico Giannici
giannici at neomedia.it
Sun Jul 10 08:53:51 UTC 2016
On 07/09/16 20:35, Federico Giannici wrote:
> I'd like to show two new folders ("Virus" and "Black List") in the FIRST
> group of folders in the folders-list on the left pane (that is the group
> where are the "special" folders: Inbox, Trash, Sent, etc.). So that they
> will no longer appear in the second list of folders (the "user" folders).
>
> Is there a way to accomplish this?
>
> Thanks.
It seems that MBOX_USERSPECIAL of special_mboxes should do what I want.
The problem is that it doesn't seems to work!
I have a "Virus" folder in my mailbox. I want it appear as a "special"
folder. I don't know if the server see it as "Virus" or "INBOX.Virus",
so I specified both and I set this in the backends.local.php file:
$servers['imap']['special_mboxes'] = array(
IMP_Mailbox::MBOX_TRASH => 'Cestino',
IMP_Mailbox::MBOX_USERSPECIAL => array( 'Virus' => "Virus",
'INBOX.Virus' => "INBOX.Virus" )
);
But the "Virus" folder isn't shown in the special folders group.
What I miss?
What's wrong?
Thanks.
More information about the imp
mailing list