s of
 the specified type.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../jakarta/mail/Session.html#setProvider-jakarta.mail.Provider-">setProvider</a></span>(<a href="../../jakarta/mail/Provider.html" title="class in jakarta.mail">Provider</a>&nbsp;provider)</code>
<div class="block">Set the passed Provider to be the default implementation
 for the protocol in Provider.protocol overriding any 