static&nbsp;<a href="../../jakarta/mail/Session.html" title="class in jakarta.mail">Session</a>&nbsp;getInstance(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;props)</pre>
<div class="block">Get a new Session object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>props</code> - Properties object that hold relevant properties.<br>
                  It is expected that the cl