row"><span class="typeNameLabel">Folder.</span><code><span class="memberNameLink"><a href="../Folder.html#search(jakarta.mail.search.SearchTerm,jakarta.mail.Message%5B%5D)">search</a></span>&#8203;(<a href="../search/SearchTerm.html" title="class in jakarta.mail.search">SearchTerm</a>&nbsp;term,
      <a href="../Message.html" title="class in jakarta.mail">Message</a>[]&nbsp;msgs)</code></th>
<td class="colLast">
<div class="block">Search the given array of messages for those that match the 
 specified sear