• 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

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 ]
 
Author
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
hi
you can retrieve emails from pop servers using javaMail API , you can find code samples and tutorial here :
http://www.jscape.com/articles/retrieving_email_using_java.html
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic