tUID(jakarta.mail.Message)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUID</h4>
<pre class="methodSignature">long&nbsp;getUID&#8203;(<a href="Message.html" title="class in jakarta.mail">Message</a>&nbsp;message)
     throws <a href="MessagingException.html" title="class in jakarta.mail">MessagingException</a></pre>
<div class="block">Get the UID for the specified message. Note that the message
 <strong>must</strong> belong to this folder. Otherwise
 java.util.NoSuchElementExceptio