oolean&nbsp;set)</code>
<div class="block">Set the specified flags on this message to the specified value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">Folder.</span><code><span class="memberNameLink"><a href="../../../jakarta/mail/Folder.html#setFlags-int:A-jakarta.mail.Flags-boolean-">setFlags</a></span>(int[]&nbsp;msgnums,
        <a href="../../../jakarta/mail/Flags.html" title="class in jakarta.mail">Flags</a>&nbsp;f