Skip to content

How can I upload .msg file in Rocket.Chat #7074

@FTDJerry

Description

@FTDJerry

Hi,

The content-type of outlook file is "application/vnd.ms-outlook".

But it didn't work after I added this MIME type in the admin/FileUpload.

In the "package.js" of Rocket.Chat-file-upload, I found that Rocket.Chat uses the node module-"mime-types".

Then I had tested it

var mime = require('mime-types');
mime.lookup('.msg');

And it returned "false".

How can I add the "application/vnd.ms-outlook" now in the Rocket.Chat if I don't want to allow to upload all type files? Or add the extension type in the "mime-types".

Thanks.

Rocket.Chat Version: 0.44.0
Running Instances: 6
DB Replicaset OpLog: -
Node Version: v4.6.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions