Force domain in email reports

Hi,

I think it must be usefull to force a domain, when there are multiple trusted_hosts[] lines with multiple domains in piwik config.

It seems that the proccess that builds emails reports pick a random domain from this list and randomly put one in the reports. In our case it happens that some these domains are internal ones and doesn’t work when the reports are viewed outside our mainquarters or no VPN connection.

Maybe, a simple solution would be pick always the first entry in trusted_hosts[]…

Thank you,

Pedro

Hi,

Any feedback?

Pedro