• Post Reply Bookmark Topic Watch Topic
  • New Topic

An Object that listens for new mail.  RSS feed

 
pr po
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to write an object that listens for new mail. I donot want to read the inbox of pop3 but instead directly interact with SMTP(since pop3 is one more layer that i donot need).
I have tried looking at javax.mail classes and found javax.mail.store could be used.
Is this the right class? any one experienced in this area can they post a sample code...or explain a way to do it?
thanksa alot
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!