title: Is there a way to get version of current java mail api programmatically?
body: <p>I need the version of the current java mail api jar used in the classpath. I can not use the</p>
  <pre><code>IMAPStore.class.getPackage().getImplementaionVersion() 
  </code></pre>
  <p>because it returns null in our productive environment, because of</p>
  <ul>
  <li><p>the custom class loader (jarsafe)</p>
  <p>or</p>
  </li>
  <li><p>we extract all jars (including mail api and other 3rd party jars/libraries) in our release deployment products and put them into a single jar and the manifest information gets lost.</p>
  </li>
  </ul>
  <p>Does mail api support a method such as <em>System.getProperty</em> etc?</p>