• Post Reply Bookmark Topic Watch Topic
  • New Topic

Read email from Outlook

 
Pradeep Kadambar
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one suggest a way of using JACOB - Java COM Bridge to read emails from Outlook or convert the emails to HTML file.

Also, tell me a good site where I can learn about Outlook specific namespace words.

Ex: Email1Address, GetDefaultFolder etc.

 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Outlook is an email client. It doesn't store any emails unless you synchronize your mail box to the machine Outlook is installed on. And then it is always an out of date copy of your mail box, not the mail box itself. Why not just read the emails directly from the Exchange server with Java Mail's pop3 stuff? No need for any JNI programming or paying for a Java/Com bridge.

"Outlook specific namespace words" - by this I assume you are looking for a reference for MS Outlook VBA (here if you really want it)? Again if you are just after the mail box I wouldn't bother using VBA, just use Java Mail. You can perhaps try the IMAP stuff Java Mail supplies to try to fetch things other than the mail box. I've no idea how well this would work - there is a big warning in the JavaDocs that its experimental.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!