Sandboxed iframe display of .msg files opened in SharePoint issues
When an Outlook email (.msg) file is saved to the Document Libraries and you open it to view within SharePoint, it is displayed within iframes. These iframes are sandboxed, meaning that many of the links within the email do not work as certain functionality is removed and so when clicked on script errors continue and nothing loads. Even if the links are set to open in a new window, the tab opens and remains white for anything internal to the SharePoint site, but work if they are external links.
If you take the original HTML file that was built for the email and upload, these also display in the same iframe way and have the same issues.
As this is internal comms within our business, linking to important content for our global staff it's very frustrating that simple links do not work in any format and that it's as simple as adding to the iframe code 'allow-scripts' and 'allow-same-origin'. Can this functionality please be added to these so there are no issues within links of important comms that don't need an intranet page built for them.
This needs to be fixed. Same problem happens when viewing emails with sensitivity labels. The links to open the encrypted emails do not work. It can be fixed because there there are apps with this capability (https://www.slimapplications.com/wp-content/uploads/2021/04/EmailManagerOverview.png)