• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Read MS Outlook from Java Servlet

 
Rashmi Trivedi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic