"MessagingException.html" title="class in jakarta.mail">MessagingException</a></code> - for other failures</dd>
</dl>
</li>
</ul>
<a id="setContent(jakarta.mail.Multipart)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setContent</h4>
<pre class="methodSignature">void&nbsp;setContent&#8203;(<a href="Multipart.html" title="class in jakarta.mail">Multipart</a>&nbsp;mp)
         throws <a href="MessagingException.html" title="class in jakarta.mail">MessagingException</a></pre>
<div class="