Office document viewer
Default viewer
To view files of office document formats such as .DOC or .XLSX, WebMail Pro uses an online viewer from Microsoft.
If you experience issues with viewing those files, you can try switching to a viewer from Google.
In data/settings/modules/OfficeDocumentViewer.config.json
file, set ViewerUrl value as follows:
"ViewerUrl": [
"https:\/\/docs.google.com\/gview?url=",
"string",
null,
"URL of external web service used for viewing files"
]
To make it work with preview pane in Files, you may need to set a slightly different value:
"https:\/\/docs.google.com\/gview?embedded=true&url=",
Please note that in either case, your WebMail Pro installation needs to be accessible over the web, so that online viewer can have access to it. Viewer from Microsoft is also known to fail at displaying the document if your WebMail Pro installation is accessed via IP address rather than domain name.