class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../MessagingException.html" title="class in jakarta.mail">MessagingException</a></code> - for failures</dd>
</dl>
</li>
</ul>
<a id="createMimeBodyPart(jakarta.mail.internet.InternetHeaders,byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createMimeBodyPart</h4>
<pre class="methodSignature">protected&nbsp;<a href="MimeBodyPart.html" title="class in jakarta.mail.internet">MimeBodyPart</a>&nbsp;createMimeBodyPart&#8203;(<a h