• 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Redirecting incoming mail to JAVA application

Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I want to do an application which will redirect incoming mail to one perticular mail ID to JAVA application .

My question:IS it possible for JAVA application to listen for incoming mail ? After listening it should retrieve information present in mail..we can do it in JAVA application,if we can, then please guide me which API i should use

I want to read mail's subject line,body part,to & from part and store those information in XL-sheet\HTML...

Here i know how to send mail(using JavaMail API) and how to store data in XL-sheet(using POI),but i dont know how to listen,or extract mails subject line ,body part , by java application...

if anybody knows please assist me.
[ August 27, 2006: Message edited by: harish thrivile ]
Posts: 531
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can retrieve emails from pop servers using javaMail API , you can find code samples and tutorial here :
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
    Bookmark Topic Watch Topic
  • New Topic