Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Many people have faced problems configuring Reporting Server to limit the outgoing mails to two/more specific domains. They tried the following configuration but it did not work and it sends email to everyone regardless of the domain.
<Configuration>
<RSEmailDPConfiguration>
<PermittedHosts>MyHome.com,MyCorp.com</PermittedHosts>
</RSEmailDPConfiguration>
</Configuration>
After no luck with the above changes, some of us have also tried:
1. Specifying the IP address instead of the domain name.
2. Specifying the single IP address.
3. Specifying the single domain name.
4. Specifying the single domain name in both DefaultHostName and PermittedHosts.
5. Specifying the DNS IP address of the domains.
The following link is the MSDN documentation about this.
So the solution to this is to create <HostName> element entry within <PermittedHosts></PermittedHosts> elements in the rsreportserver.config file for each allowed domain.
So for the above example, if we have to limit/restrict the outgoing emails from Reporting Services to MyHome.com and MyCorp.com, we should create a <HostName> entry each for the domain as shown:
<PermittedHosts>
<HostName>MyHome.com</HostName>
<HostName>MyCorp.com</HostName>
</PermittedHosts>
This will restrict/limit the emails to above mentioned domains only.
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in