• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Redirecting incoming mail to JAVA application

 
Harish Tiruvile
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • 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 ]
 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic