Eric,
Let me explain the requirement to you completely
1) Display a list of items (without having to create them as mailboxes) from an 
application.
2) The mailbox should be created only when the user subscribes to that item.
3) The mailbox should be deleted when the user unsubscribes the item (i.e.) it 
should again appear as a normal item in the list of folders.

Please let me know the changes to be done to serve this purpose.

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

Why are major companies rapidly migrating to Passport?  Find Out Here



-----Original Message-----
From: Eric Charles [mailto:[email protected]] 
Sent: Thursday, February 16, 2012 5:13 PM
To: James Users List
Subject: Re: Display non-mailbox as items from finders

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]




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

Reply via email to