• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Read MS Outlook from Java Servlet

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic