</code> - for other failures</dd>
</dl>
</li>
</ul>
<a id="removeHeader(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeHeader</h4>
<pre class="methodSignature">void&nbsp;removeHeader&#8203;(java.lang.String&nbsp;header_name)
           throws <a href="MessagingException.html" title="class in jakarta.mail">MessagingException</a></pre>
<div class="block">Remove all headers with this name.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>hea