Skip to content

Incorrect MimeType application/excel #83

@programmiererei

Description

@programmiererei

If an e-mail contains an XLSX Excel file as an attachment, this is returned with the mimetype “application/excel”.
However, the correct mimetype would be “application/vnd.openxmlformats-officedocument.spreadsheetml.sheet”.
“application/excel” is also not a valid mimetype: see
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types

I use omsg.fetchTrueAttachments(), and the attachment object contains:
image

It is strange that the longFilename is correct, but the filename has the wrong extension 'xls'.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions