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

    Hi,

    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?

    Thanks.

  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 09 Mar 2015 Link to this post

    Hello,

    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">. 

    Regards,
    Boyan Dimitrov
    Telerik
     

    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. 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.
  5. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 07 Aug 2015 Link to this post

    Hi Michael,

    Please read this post:
    http://www.telerik.com/forums/msg-file-contenttype-null#9iRDuIFJY0mg37UVXuuspA

    Regards,
    Hristo Valyavicharski
    Telerik
    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