Detecting contenttype of .msg files

4 posts, 0 answers
  1. David
    David avatar
    2 posts
    Member since:
    Oct 2010

    Posted 04 Mar 2015 Link to this post


    We are using RadAsyncUpload and saving the ContentType property of the uploaded file.

    For most uploaded files, .pdf, .docx etc. the ContentType property has been detected.

    When uploading an .msg file the ContentType property is null.

    Is this an known issue? Do you have any suggestions?


  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    1968 posts

    Posted 09 Mar 2015 Link to this post


    The reason for this behavior is because this file format is not part of the MIME type list. The file format needs to be part of that list in order the ContentType to be set properly. You can replicate same issue with the <input type="file" name="file upload">. 

    Boyan Dimitrov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. Michael
    Michael avatar
    27 posts
    Member since:
    May 2011

    Posted 05 Aug 2015 in reply to Boyan Dimitrov Link to this post

    This is not correct - up until very recently we were able to upload .msg files just fine so either somebody took .msg away as a valid MIME type or something changed with the RadAsyncUpload control because the MVC version of the control works just fine.
  4. Hristo Valyavicharski
    Hristo Valyavicharski avatar
    975 posts

    Posted 07 Aug 2015 Link to this post

    Hi Michael,

    Please read this post:

    Hristo Valyavicharski
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top