Title: Wrong MIME types
Last modified: August 31, 2016

---

# Wrong MIME types

 *  Resolved [enquirer32](https://wordpress.org/support/users/enquirer32/)
 * (@enquirer32)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wrong-mime-types/)
 * I keep getting this error for imported emails with pdf attachments:
 * “unsupported MIME type application and was not added”
 * Document name is, say: New-Doc-1Page-1.pdf has an unsupported MIME type application
   and was not added.
 * MIME type in settings:
 * application/pdf
    application/msword application/vnd.ms-excel text/csv
 * Debug output reads:
 *     ```
       GetContent: ---- start
   
       GetContent: primary= application, secondary = pdf
   
       DecodeBase64Part: base64 detected
   
       GetContent: pre sanitize file name 'New Doc 1Page 1.pdf'
   
       GetContent: file name 'New-Doc-1Page-1.pdf'
   
       GetContent: extension 'pdf'
   
       GetContent: secondary lookup found application/pdf
   
       GetContent: mimetype application/pdf
   
       GetContent: found file type: application
   
       New-Doc-1Page-1.pdf has an unsupported MIME type application and was not added.
   
       GetContent: Not in supported filetype list: 'application'
   
       Array
       (
           [0] => application/pdf
           [1] => application/msword
           [2] => application/vnd.ms-excel
           [3] => text/csv
       )
   
       GetContent: meta_return: 
   
       GetContent: ==== end
       ```
   
 * [https://wordpress.org/plugins/postie/](https://wordpress.org/plugins/postie/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * (@wayneallen-1)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wrong-mime-types/#post-7255855)
 * Please revisit you Postie setting, you’ll note the info for that field says “
   Add just the type (not the subtype). Text, Video, Audio, Image and Multipart 
   are always supported.”
 * You should only have “application” listed.

Viewing 1 replies (of 1 total)

The topic ‘Wrong MIME types’ is closed to new replies.

 * ![](https://ps.w.org/postie/assets/icon-256x256.png?rev=970083)
 * [Postie](https://wordpress.org/plugins/postie/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/postie/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/postie/)
 * [Active Topics](https://wordpress.org/support/plugin/postie/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/postie/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/postie/reviews/)

## Tags

 * [mime](https://wordpress.org/support/topic-tag/mime/)
 * [pdf](https://wordpress.org/support/topic-tag/pdf/)

 * 1 reply
 * 2 participants
 * Last reply from: [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/wrong-mime-types/#post-7255855)
 * Status: resolved