• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Access mail boxes from MS Exchange Server ?

 
Jesu Mani
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like Java Mail is what you need.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jesu Mani
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic