Hi,

A mailbox folder is only created when there is a request to access it.

To implement what you describe, you would hack the ListProcessor sources, rather than the MailboxMapper.
https://svn.apache.org/repos/asf/james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/ListProcessor.java

But it depends of your context: are you willing to integrate mailbox in a 3rd party application, or leave it in James server?

Thx, Eric

On 16/02/12 10:19, Jentu Jain wrote:
I like to display a list of possible folders(without having to create
them as mailbox) to the user when the MailboxMapper.finder is called.
The mailbox should be created only when the user subscribes for it.
Please let me know the logic to implement the same.

Regards

------------------------------------
Jentu Jain | Datacert, Inc.

/Why are major companies rapidly migrating to Passport? Find Out Here
<http://www.datacert.com/>/

Description: cid:[email protected]
<http://www.datacert.com/feed.xml>Description:
cid:[email protected] <http://twitter.com/datacert>


--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to