.msg content type

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Melanie Provost

    .msg content type

    I have a C# web application that saves files to a database as a byte array
    and retrieves those files. When retrieving a file to display I have to
    specify a content type / MIME type. I am having a problem with outlook
    files that have a .msg extension. I can't find a content type that will
    display .msg files. I could use application/msword if the messages were
    just text but there are also attachments in the messages and these do not
    get displayed in word. When saving a .msg file the PostedFile.Cont entType
    property defaults to application/octet-stream which is not useful either.
    Leaving the content type blank when retrieving the file just seems to return
    the byte array.



    Does anyone know what the content type is for an outlook .msg file?



    Melanie


Working...