title: Difference between javax.mail and javax.mail-api
body: <p>What is the difference between <code>javax.mail</code> and <code>javax.mail-api</code>?</p>
  
  <p>I found those from maven repository.</p>
  
  <p>When should each be used?</p>
  
  <p>The software package comes with <code>javax.mail-api</code> but I could not get it work, so I downloaded <code>javax.mail</code>.</p>