• Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing a mailbox with no password thru Java API  RSS feed

 
Sambath Kumar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


We have few mail boxes (on Microsoft Exchange server 5.5) which do not have specific domain user name and password. Specific users are given restricted access to these mailboxes.

In MS Outlook, users can see these mailboxes by adding them as Additional mail boxes to their mail profile through advanced settings.

We are designing an application which reads mails from these mailboxes. Since the mailbox has no password associated with it, we need to use the authentication of specific users who have been given access.

We tried methods in the class com.sun.mail.imap.IMAPStore to access Shared, Personal and User namespaces. The public folders can be accessed through shared namespaces. But none of these methods were able to access these additional mail boxes that we added.

I believe there should be some workaround to access such mailboxes.

Can anyone tell me how to get this issue resolved ?

Appreciate any help in this regard.

Thanks,
Sambath
[ December 14, 2005: Message edited by: Sambath Kumar ]
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

Please don't post your questions to multiple forums. I deleted the other copy of this one.

Please don't ask for answers by email. The whole point of JavaRanch is for people to share knowledge; using private communication channels prevents that from happening.

Finally, we like to have JavaMail questions in the Other Java APIs forum. I'll move this there for you.
 
Paul Clapham
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's quite likely a policy of the mail server. I don't think it's an unreasonable policy either. Have you discussed the issue with the administrator of the server? Try explaining to them why they should configure their server so that people could access it without authorization.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!