 class="blockList">
<h4>getMessagesByUID</h4>
<pre class="methodSignature"><a href="Message.html" title="class in jakarta.mail">Message</a>[]&nbsp;getMessagesByUID&#8203;(long[]&nbsp;uids)
                    throws <a href="MessagingException.html" title="class in jakarta.mail">MessagingException</a></pre>
<div class="block">Get the Messages specified by the given array of UIDs. If any UID is
 invalid, <code>null</code> is returned for that entry. <p>

 Note that the returned array will be of the same size