This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Java in General and the fly likes Saving mail from outlook with attachment with Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Saving mail from outlook with attachment with Java" Watch "Saving mail from outlook with attachment with Java" New topic
Author

Saving mail from outlook with attachment with Java

age spets
Ranch Hand

Joined: Aug 07, 2002
Posts: 68
Hi!

Must save an email from outlook into a file archive. The users want to look on the mail and press a button to save it from outlook. Is it possible for Java to interact with outlook or do I have to use VB or .NET?

age
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

"Java Outlook Connector" by Moyosoft
Not free.
http://www.moyosoft.com/joc/


[My Blog]
All roads lead to JavaRanch
age spets
Ranch Hand

Joined: Aug 07, 2002
Posts: 68
Thank you. Will talk to my boss about buying one. Anybody who knows any free/open source?
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19680
    
  10

You need to clarify your requirements. Outlook is an e-mail client, which means it connects to an e-mail server to get messages.

Now, you can write your own e-mail client that connects to that server and gets messages and saves attachments and so on, using JavaMail. But you don't have to interact with Outlook to do that. You just go direct to the server, just like Outlook would. In fact people have done exactly that.

The other requirement that needs to be clarified is why you don't just use Outlook. It can save attachments perfectly well without any extra programming.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Saving mail from outlook with attachment with Java
 
jQuery in Action, 3rd edition