I am so sorry !
I have to post it to the JavaMail Mailing List.

youngho

-----Original Message-----
From: Youngho Cho [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 21, 2000 7:23 PM
To: [EMAIL PROTECTED]
Cc: Youngho Cho
Subject: hasNewMessages() performance ??


Hi,

Which is the fast way to know a new Message arrives in INBOX between
hasNewMessages() and open folder and check the new message ??

In my experience , hasNewMessages() method doesn't look faster than that of
open folder , check and close folder.

If I used hasNewMessages() method and if there exist a new message than

Check the new message using hasNewMessages() and open folder , read and
close folder time took almost 2 times longer than that of open folder, check
, read and close folder.

Do you have same experiences or am I something wrong ??

Which way is faster ???

___________________________________________________________________________
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

Reply via email to