title: How to retrieve mime type for the current get attachment
body: <p>I'm uploading some pdf files and .doc/docx files in a project.
  So, I'm inserting a link attachment file inside the loop and is working fine.</p>
  
  <p>But I need to get a specific attribute: the mimetype.</p>
  
  <p>So, I need to print the attachment url and mimetype, like this</p>
  
  <p>Download file on <a href="http://domain.com/wp-content/...file.pdf" rel="nofollow">http://domain.com/wp-content/...file.pdf</a>
  File Type: pdf or application/pdf</p>
  
  <p>Could someone help me with this?</p>
  
  <p>By the way, I´m using a custom theme and not the default wordpress theme.</p>
  
  <p>Thanks a lot.</p>
  
  <p>Flávio</p>