• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Read mails from a Mailbox on MS Exchange server without POP3 and IMAP

 
Abhishek Itbhu
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

There is one application of mines which connects to a Microsoft Exchange mail server using POP3 protocol by JAVA mailing API, to read mails from one of the user and then process the data.
The problem is they have disabled POP3 and IMAP protocol on that server, and MAPI is the only available protocol.

Can I use SMTP now to read mails, or SMTP only allows to send mails.

Is there any option in JAVA, where I can read mails and their contents, from that server now.

Thanks,
Abhishek
 
gautam soni
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Were you able to get any solution to this problem? I am stuck exactly at the same step.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SMTP is a protocol for sending mails, not for reading them. Several libraries are available that enable Java to access a MAPI server; a quick search finds http://www.moonrug.com/ and http://j-integra.intrinsyc.com/support/exchange/doc/, but there are probably others.
 
gautam soni
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf. Thats really wonderful.. nice to see this prompt reply.
The reply you posted was just what I googled, SMTP is just a Transport for mails, and POP3 and IMAP enable you to play with mailbox. Now, the products you mentioned looks like for commercial purpose. Is there any open-source equivalent?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not aware of an open source solution. For most automated mail processing in Java POP and IMAP are sufficient, which is probably why nobody has bothered to implement MAPI.

But buying a license for one of these libraries is probably cheaper than the Windows Server license required to run Exchange.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic