tion</a></pre>
<div class="block">Set the filename associated with this part, if possible.
 Useful if this part represents an "attachment" that was
 loaded from a file.  The filename will usually be a simple
 name, not including directory components.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>filename</code> - Filename to associate with this part</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="IllegalWriteException.html" title="class in jakarta.mail">