NetTalk Central

Author Topic: How to display Outlook msg file in a netwebpage?  (Read 3282 times)

johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
How to display Outlook msg file in a netwebpage?
« 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


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: How to display Outlook msg file in a netwebpage?
« Reply #1 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