• Post Reply Bookmark Topic Watch Topic
  • New Topic

E mail notifier  RSS feed

 
Chiranjeevi Kanthraj
Ranch Hand
Posts: 290
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I want to know is their any Event which triggers when the mail is came to inbox

like gmail notifier.

please help me
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on the type of client you have. A Java client could use the JavaMail API to check for newly arrived messages periodically (once a minute or so).
 
Chiranjeevi Kanthraj
Ranch Hand
Posts: 290
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya i am using java mail API itself.
But my question is want i to write the thread to check or is their any event.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaMail has no built-in mechanism for this; you'll need to code it yourself.
 
Chiranjeevi Kanthraj
Ranch Hand
Posts: 290
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you.
is their any API which have this feature.
or tell me some idea how to code that
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There isn't much to it. Use JavaMail to connect to the mail server via POP3, and check the INBOX folder. (See this for details.) Based on that the client can take any action deemed appropriate.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!