Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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

 
Greenhorn
Posts: 3
  • 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
 
Greenhorn
Posts: 2
  • 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.
 
Rancher
Posts: 42975
76
  • 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
  • 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
Posts: 42975
76
  • 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
Boost this thread!