title: Get just the url of attachment javamail api?
body: <p>I want to save the url of attachment into mysql database in order to download it from mobile client (iphone) when user demand downloading attachment.</p>
  
  <pre><code> String disposition = part.getDisposition();
                 if (disposition != null &amp;&amp; (disposition.equalsIgnoreCase("ATTACHMENT")))  
                    // mail have attachment
  </code></pre>
  
  <p>I'm using this code to get the part of the message which is an attachment.
  But i can't get it's url.
  Any idea?</p>