 class="methodSignature">public&nbsp;void&nbsp;writeTo&#8203;(java.io.OutputStream&nbsp;os)
             throws java.io.IOException,
                    <a href="../MessagingException.html" title="class in jakarta.mail">MessagingException</a></pre>
<div class="block">Iterates through all the parts and outputs each MIME part
 separated by a boundary.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Multipart.html#writeTo(java.io.OutputStream)">writeTo</a></cod