Re: E-Mail Watchng from a servlet
John Arockiaraj <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <[email protected]> |
Hi, As you may already know, you need to setup IMAP account on your Mail Server and use IMAP provider at your client, since POP doesn't support checking for new mails. Then , you can call IMAPFolder.hasNewMessages() to check if any new mail has arrived. http://java.sun.com/products/javamail/1.3/docs/javadocs/com/sun/mail/imap/IM APFolder.html#hasNewMessages() HTH John -----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[email protected]]On Behalf Of James Smith Sent: Monday, May 19, 2003 1:04 AM To: [email protected] Subject: E-Mail Watchng from a servlet Hi I want to develop some kind of e-mail notifications. So, I wanna know how can I do to watch the e-mail account to realize when an e-mail arrives. I don't want to check for e-mail every x time but only when new e-mails arrive to the account. What I want I think it's like a MVC over e-mail accout. Any Ideas, any examples or similar experience ?? Thanks ___________________________________________________________________________ To unsubscribe, send email to [email protected] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [email protected] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html