Wednesday, June 9, 2010

Email Configuration for SSRS:

Below is the procedure to configure an email account for SSRS.

1. Open reporting service configuration manager and connect to the report server.
2. In the Email setting tab, provide SMTP Server name and an email account that can send emails from the provided SMTP server.

Report Server subscriptions might fail to send an email if the remote SMTP server is used with the below error message:

The Error message: Failure sending mail: The server rejected the sender address. The server response was: 530 5.7.1 Client was not authenticated) (PFA – SMTP configuration & Error message)

This is because, if the SMTP server provided in report server configuration is other than local, there is small configuration change that needs to be updated in “RSreportserver.config” file which is located at “C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer”.

1. Open RSreportserver.config file and look for “SendUsing”. This value must set to 2 if we use remote SMTP server.
2. Look for SMTPAuthenticate and set its value to 2. This is to send emails to restricted distribution list that accept mails only through authenticated accounts.
3. After all it should be something like below .

"SMTPServerPort"25 "/SMTPServerPort"
"SMTPAccountName" "/SMTPAccountName"
"SMTPConnectionTimeout" "/SMTPConnectionTimeout"
"SMTPServerPickupDirectory" "/SMTPServerPickupDirectory"
"From" "/From"

1 comment:

  1. When someone writes an article he/she keeps the thought of a user in his/her brain that how a user can be aware of it. Therefore that’s why this post is outstanding.Thanks!