wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes Read mails from a Mailbox on MS Exchange server without POP3 and IMAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Read mails from a Mailbox on MS Exchange server without POP3 and IMAP" Watch "Read mails from a Mailbox on MS Exchange server without POP3 and IMAP" New topic
Author

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

Abhishek Itbhu
Greenhorn

Joined: Jul 05, 2009
Posts: 3
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

Joined: Sep 29, 2009
Posts: 2
Were you able to get any solution to this problem? I am stuck exactly at the same step.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41087
    
  43
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.


Ping & DNS - my free Android networking tools app
gautam soni
Greenhorn

Joined: Sep 29, 2009
Posts: 2
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
Marshal

Joined: Mar 22, 2005
Posts: 41087
    
  43
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Read mails from a Mailbox on MS Exchange server without POP3 and IMAP
 
Similar Threads
please help!urgent...on javamail API.
Java mail and Microsoft Exchange Server
Reading Mails from Microsoft Exchange Server 2003
JavaMail but no SMTP
Receive mail SMTP or POP3