store.getUsernamespace() method returning empty array

View: New views
2 Messages — Rating Filter:   Alert me  

store.getUsernamespace() method returning empty array

by cybercxf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am using IMAP protocol to access our Exchange Server (Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1). I want to crawl all the mailboxes of all the other users. To this end, I am trying to use
store.getUserNamespaces("xyz") to get folders for other users. I am connecting to the server using a username and password which has access to all the mailboxes in the Exchange Server. However, this method is returning me an empty array.

Can anyone help and let me know what is going on?

NOTE: I can access all the personal folders of the current user.

Thanks.

CyberCXF

Re: store.getUsernamespace() method returning empty array

by Bill Shannon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

cybercxf wrote on 6/26/09 1:31 PM:

> Hi,
>
> I am using IMAP protocol to access our Exchange Server (Microsoft Exchange
> Server 2003 IMAP4rev1 server version 6.5.7638.1). I want to crawl all the
> mailboxes of all the other users. To this end, I am trying to use
> store.getUserNamespaces("xyz") to get folders for other users. I am
> connecting to the server using a username and password which has access to
> all the mailboxes in the Exchange Server. However, this method is returning
> me an empty array.
>
> Can anyone help and let me know what is going on?
>
> NOTE: I can access all the personal folders of the current user.
>
> Thanks.
>
> CyberCXF

You probably need to ask Microsoft.

The Store.getUserNamespaces method uses the IMAP NAMESPACE command.
You'll have to ask Microsoft what information to expect to get back
from that IMAP command in your case.

===========================================================================
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff JAVAMAIL-INTEREST".  For general help, send email to
listserv@... and include in the body of the message "help".