• Resolved enquirer32

    (@enquirer32)


    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://ww.wp.xz.cn/plugins/postie/

Viewing 1 replies (of 1 total)
  • Plugin Author Wayne Allen

    (@wayneallen-1)

    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.