aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes How to Access mail boxes from MS Exchange Server ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to Access mail boxes from MS Exchange Server ?" Watch "How to Access mail boxes from MS Exchange Server ?" New topic
Author

How to Access mail boxes from MS Exchange Server ?

Jesu Mani
Ranch Hand

Joined: Oct 16, 2006
Posts: 34
Hi Ranchers,

I need to access the mailboxes(users/mailids) from Ms Exchange Server.

Am Very new to this concept/environment. Kindly enlighten.

Advanced Thanks on your concern for this.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Sounds like Java Mail is what you need.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42276
    
  64
JavaMail will help if you want to access the contents of particular mailboxes, but it sounds as if you want to handle the accounts themselves - is that correct? If so, then JavaMail can't do that. Exchange itself does not have a Java API, but it may include some command-line tool that you could run through Runtime.exec.


Ping & DNS - my free Android networking tools app
Jesu Mani
Ranch Hand

Joined: Oct 16, 2006
Posts: 34
Originally posted by Paul Sturrock:
Sounds like Java Mail is what you need.



Not , Javamail(Can access the mails). I need to create new accounts/mailids in MS Exchange Server ? Will JNDI help to access MS Exchange Server from Java Environment ?

Thanks.
Jesu
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


Will JNDI help to access MS Exchange Server from Java Environment ?

No. See Ulf's reply. You'll need to make calls to an MS technology. CDO is the technology you might use if you were writing this in VB. You maybe need a VB script you can call from Java? There are also commercial bridging technologies out there like J-Integra.
Jesu Mani
Ranch Hand

Joined: Oct 16, 2006
Posts: 34
I tried Using JNDI , i am able to access the (information) attributes of an LDAP's Active Directory for a windows 2000 Server Domain.

But i am unable to create an Active Directory user. Kindly some one help me on this.

Thanks,
Jesu Mani
Jesu Mani
Ranch Hand

Joined: Oct 16, 2006
Posts: 34
Hi Friends,

To Create AD users for Exchange Mailboxes , Access entries from Exchange Server this site :

Sun's JNDI Forum:

and the man adler steven will help you !

JesuMani
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Access mail boxes from MS Exchange Server ?