NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: johanco123 on November 03, 2016, 10:59:31 PM

Title: How to display Outlook msg file in a netwebpage?
Post by: johanco123 on November 03, 2016, 10:59:31 PM
Hi Bruce

I have an Outlook msg files attached to records. I want to display the msg files in a netwebpage but is only showing a lot of garbage in the page. The netwebpage page type is set to FILE. If it is a ms word document an I can open the file with MS Word, but I cannot get it to open Outlook and then it is trying to display it in the web browser.

Any suggestions what I can do will be appreciated.

Regards
Johan

Clarion 8
Nettalk 8.66
Windows10

Title: Re: How to display Outlook msg file in a netwebpage?
Post by: Bruce on November 07, 2016, 05:47:45 AM
Hi Johan,

you would need to set the content-type for the file so that the browser knows what to do with it.
the content-type should be
application/vnd.ms-outlook

I have tweaked nethttp.clw for the next build, in the _GteContentType method;

  of 'msg'
    return ('application/vnd.ms-outlook')


Cheers
Bruce