.html" title="class in jakarta.mail">Flags</a>&nbsp;flag,
        boolean&nbsp;value)</code>
<div class="block">Set the specified flags on the messages numbered from start
 through end, both start and end inclusive.</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-jakarta.mail.Message:A-jakarta.mail.Flags-boolean-">setFlags</a