Discussion:
store.getUsernamespace() method returning empty array
cybercxf
2009-06-26 20:31:52 UTC
Permalink
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
--
View this message in context: http://www.nabble.com/store.getUsernamespace%28%29-method-returning-empty-array-tp24226873p24226873.html
Sent from the Javamail mailing list archive at Nabble.com.

===========================================================================
To unsubscribe, send email to ***@java.sun.com and include in the body
of the message "signoff JAVAMAIL-INTEREST". For general help, send email to
***@java.sun.com and include in the body of the message "help".
Bill Shannon
2009-06-26 22:47:49 UTC
Permalink
Post by cybercxf
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 ***@java.sun.com and include in the body
of the message "signoff JAVAMAIL-INTEREST". For general help, send email to
***@java.sun.com and include in the body of the message "help".
Loading...