File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Read MS Outlook from Java Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Read MS Outlook from Java Servlet" Watch "Read MS Outlook from Java Servlet" New topic
Author

Read MS Outlook from Java Servlet

Rashmi Trivedi
Ranch Hand

Joined: Aug 13, 2001
Posts: 60
Hello Guys
I need your help..I have a situation where i need to write Java Servlet/application to automate the process..

I get email from one of our supplers with the attachments. I then save the attachements to my local drive and copy them to the server..server runs the integration and upload data into our back end system...

I would like to do this..

I would like to write a java tools which does follwoing..

Read the my Inbox and if it finds a message with test@test.com then it open that email and saves the attachements on the server..

I had look around and i am finding littel difficult to start this assignment..

any thoughts would be really appreciated...

regards,
Rashmi Trivedi
Atul Prabhu
Ranch Hand

Joined: Dec 17, 2002
Posts: 60
Hi Rashmi,

In JavaMail you'll find APIs and implementations allowing you to develop fully functional email client applications.You could write your own Outlook replacement.

Here are some links which would definitely help you :

JGuru
Java Mail Docs

Refer to javax.mail package... it has everything in it.

Hope this helps. Good Luck.

--------
Atul
Santosh Maskar
Ranch Hand

Joined: Jul 02, 2003
Posts: 226
Hi Rashmi,
you have to write the client progrma using javamail API it required activation.jar and mail.jar to do this.

but you need to creoss chek whether your smtp server will allowd to download the mail utside the outlook

you can send the mail easily but reciving mail i ma not sure , u have to chekc with you network admin
abot the smtp ip address


Santos
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Read MS Outlook from Java Servlet