ngException</a></code> - for failures</dd>
</dl>
</li>
</ul>
<a id="removeBodyPart(jakarta.mail.BodyPart)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeBodyPart</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;removeBodyPart&#8203;(<a href="../BodyPart.html" title="class in jakarta.mail">BodyPart</a>&nbsp;part)
                       throws <a href="../MessagingException.html" title="class in jakarta.mail">MessagingException</a></pre>
<div class="block">Remove the speci