Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi ,
I am sending excel file by ssrs in same domain.but it is unble send in outside domain.
Same account using MSSQL server SMtp account send outside domain.
smtp Authentication =>username and password can set mssql but usename and passowrd how can set in ssrs.
Please let me some suggestion.
Posted

1 solution

Read the documentation first: http://msdn.microsoft.com/en-us/library/ms159155(v=sql.105).aspx[^]

There you will see a sentence: The Report Server service account must have permission on the SMTP server to send mail. Although there are settings in the configuration, that looks like letting you specify username and password, but it is not used :(
As you can see here, it was a feature request at Microsoft also: https://connect.microsoft.com/SQLServer/feedback/details/332979/using-external-authenticated-smtp-server-for-email-delivery-reporting-services[^].

So, if you can't configure your mail server to fit this specification, due to higher priorities, you will have to use an smtp relay. This is one option (source is the same link as above):
Quote:
Here's a really easy workaround: install IIS SMTP server and configure your SMTP server that requires authentication as a SmartHost in the server properties (not domain properties). The local IIS SMTP server will then quite happily forward all your email onto the remote SMTP server that requires authentication. Job done.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900