Hello...
I have a Virtual PC running SSRS 2005. I keep getting the following error when I try to specify my hotmail account as the To line in the email subscription:
"The e-mail address of one or more recipients is not valid."
I am trying to set it up such that I can send email subscriptions to my hotmail account, or at least let the SMTP Service accept these emails. I don't necesarily need to have these emails delivered, but I would like them to at least be accepted by the SMTP Service. I have added the following to my rsreportserver.config file:
<PermittedHosts>
<HostName>hotmail.com</HostName>
</PermittedHosts>
I am sure I need to configure the IIS SMTP Server settings somehow, does anyone know how to configure my local SMTP Service to allow @.hotmail.com email addresses to be placed into the "Drop" folder?
TIA
All,
After reading through some more posts online (searching through Google groups, yes Google groups MS folks!!!) I found what I needed to do. In fact, what I found does a lot more than I needed to do, it actually sends the email to the external account.
This is NOT a Reporting Services configuration issue. This is an SMTP Service configuration issue (as I suspected). Here is what I did. This may or may not be the "correct" way to do things, but it certainly works for my test environment (Note that this configuration probably shouldn't be used in a production enviornment!!!):
1. Open IIS Manager and right-click the "Default SMTP Virtual Server" and select "Properties".
2. On the Properties dialog, select the Access tab.
3. From the Access tab, click the "Relay..." button (near the bottom of the tab).
4. From the Relay Restrictions dialog, select the "All except the list below" option. Ensure that the "Allow all computers which successfully authenticate to relay, regardless of the list above" checkbox is checked.
5. Click OK on the Relay Restrictions dialog.
6. Click OK on the "Default SMTP Virtual Server Properties" dialog.
7. Stop, then Start the SMTP Service.
8. Setup your email subscription with your external email account and let it run.
Again, this worked for my development\test environment, but you should probably investigate further if you want to use this in a production environment as I am sure that setting up your SMTP Service for relay in this way probably opens it up to all sorts of attacks (like SPAM).
Hope that this helps others experiencing the same/similar issue!!
|||Also:
9. I got rid of the items I added to the PermittedHosts element, this way I am not restricted to which domains I sent to. Obviously in a production enviornment you would not want to do this.
No comments:
Post a Comment