.Serializable</code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">MessageCountEvent</span>
extends <a href="MailEvent.html" title="class in jakarta.mail.event">MailEvent</a></pre>
<div class="block">This class notifies changes in the number of messages in a folder. <p>

 Note that some folder types may only deliver MessageCountEvents at
 certain times or after certain operations.  IMAP in particular will
 only notify the client of MessageCountEvents when a client issues a
 new command.  Ref