Resolving incorrect URL for emails viewed in browser in Portrait Dialogue

Product Feature: MHCWa

Operating System: Not stated

Database: Not stated

Configuration: Not stated


After changing URLs to HTTPS for additional security, when customers click on the view email in browser link (mh_message_url) it doesn’t display the message correctly.
The EmailMessageURL is set correctly, to https in Dialogue Admin, 


In the iframe where the message should be displayed, the URL uses HTTP instead of HTTPS


UPDATED: September 7, 2017
In the MHCwa web.config file there is a key labeled "HostOverride" with a value set to ""
This should be set to the server name, including the https prefix.

The comments in the file say "Overrides the host used when generating absolute URL's (GetApplicationPath() method). Can be used when the Host property used by the web application to get the  server name, is incorrect. The complete URL must be specified complete with http/https and a post number if this is used. (example:"