Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SSRS
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 25-Dec-12 7:53am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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 Frown | :(
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.
  Permalink  
v2

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 471
1 Maciej Los 325
2 Yogesh Kumar Tyagi 304
3 OriginalGriff 298
4 Prakriti Goyal 200
0 OriginalGriff 6,367
1 Sergey Alexandrovich Kryukov 5,296
2 Maciej Los 3,384
3 Peter Leow 3,259
4 DamithSL 2,490


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 25 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100