Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

SSRS 2008 mail issue Expand / Collapse
Author
Message
Posted Friday, November 4, 2011 12:28 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, October 29, 2012 10:18 AM
Points: 181, Visits: 484
Hi,

i have setup the database mail fine and can send database mail. But from SSRS subcription on SQL 2008 sp1. but it sends out failing messge:

Failure sending mail: The server rejected the sender address. The server response was: 550 5.7.1 Client does not have permissions to send as this sender Mail will not be resent.

i have proper email address as well as have set following in config file:

SMTPAuthenticate to 2.
Set SendEmailToUserAlias to False.

Set DefaultHostName to the Domain Name System (DNS) name or IP address of the SMTP server or forwarder.

<SendUsing>2</SendUsing>

please help urgent!!

Thanks
Post #1200831
Posted Friday, November 4, 2011 1:13 PM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 11:41 AM
Points: 883, Visits: 1,415
pat-261672 (11/4/2011)
Hi,

i have setup the database mail fine and can send database mail. But from SSRS subcription on SQL 2008 sp1. but it sends out failing messge:

Failure sending mail: The server rejected the sender address. The server response was: 550 5.7.1 Client does not have permissions to send as this sender Mail will not be resent.

i have proper email address as well as have set following in config file:

SMTPAuthenticate to 2.
Set SendEmailToUserAlias to False.

Set DefaultHostName to the Domain Name System (DNS) name or IP address of the SMTP server or forwarder.

<SendUsing>2</SendUsing>

please help urgent!!

Thanks


The error is saying "you tried to send an email through me, but You are not authorized to send as the person you told me is the sender". How is database mail set to authenticate? You need to dicuss this with the adminsitrator of the mail server you are sending through and the account you are authenticating as needs to be allowed to send as the sender you are specifying in the configuration.
Post #1200853
Posted Friday, November 4, 2011 1:15 PM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 11:41 AM
Points: 883, Visits: 1,415
NJ-DBA (11/4/2011)
pat-261672 (11/4/2011)
Hi,

i have setup the database mail fine and can send database mail. But from SSRS subcription on SQL 2008 sp1. but it sends out failing messge:

Failure sending mail: The server rejected the sender address. The server response was: 550 5.7.1 Client does not have permissions to send as this sender Mail will not be resent.

i have proper email address as well as have set following in config file:

SMTPAuthenticate to 2.
Set SendEmailToUserAlias to False.

Set DefaultHostName to the Domain Name System (DNS) name or IP address of the SMTP server or forwarder.

<SendUsing>2</SendUsing>

please help urgent!!

Thanks


The error is saying "you tried to send an email through me, but You are not authorized to send as the person you told me is the sender". How is database mail set to authenticate? You need to dicuss this with the adminsitrator of the mail server you are sending through and the account you are authenticating as needs to be allowed to send as the sender you are specifying in the configuration.


My guess is that you are configured for Anonymous Authentication and the smtp server is not allowing an anonymous account to send using the email address you specified in the profile.
Post #1200854
Posted Friday, November 4, 2011 1:19 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, October 29, 2012 10:18 AM
Points: 181, Visits: 484
Hi,

The DB mail is set to use the basic with my username and password.

Also, I have full rights to send mail on my regular computer and i can send and receive email just fine!!

thanks
Post #1200857
Posted Friday, November 4, 2011 1:45 PM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 11:41 AM
Points: 883, Visits: 1,415
pat-261672 (11/4/2011)
Hi,

The DB mail is set to use the basic with my username and password.

Also, I have full rights to send mail on my regular computer and i can send and receive email just fine!!

thanks


Reporting Services currently does not support Basic Authentication. This means that you will not be able to use it to talk to SMTP servers that require authentication.. Instead we support NTLM, Anonymous. For NTLM, RS uses the account that RS Windows Service is running as.

http://social.msdn.microsoft.com/forums/en-US/sqlreportingservices/thread/70b11c76-7dbb-45a8-b118-a9d1a4470ae5/
Post #1200876
Posted Saturday, November 5, 2011 10:31 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, October 29, 2012 10:18 AM
Points: 181, Visits: 484
Hi,

If i do anonymous then i get this message failing:


Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 2 (2011-11-05T08:27:16). Exception Message: Cannot send mails to mail server. (The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated).
)
Post #1201057
Posted Wednesday, November 9, 2011 6:58 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, October 29, 2012 10:18 AM
Points: 181, Visits: 484
Hi,

Here is the issues:

if i set it to anonymous the db mail does not work with error :
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 2 (2011-11-05T11:56:35). Exception Message: Cannot send mails to mail server. (The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated).
)

if i set on the SSRS configuration portion: with sender's email (my email) and SMTP server, what will it use because the SSRS is running on local system.

If i try to change to different domain account then it ask for the Key. Will it affect the current set up if is do that?

please guide!!!
Post #1202825
Posted Wednesday, November 9, 2011 7:11 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 11:41 AM
Points: 883, Visits: 1,415
You need to talk to the person who administers your SMTP server. The easiest way, is for the mail server admin to configure the SMTP server to allow anonymous authentication from the reporting service server.

Short of that, the Report Server service account must have permission on the SMTP server to send mail. If you are using the local system account that's trickier, but I think you should be able grant permissions to Domain\computername$ and make it work... not tried that personally in this scenario,but I think it would work.

Post #1202841
Posted Wednesday, November 9, 2011 7:47 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, October 29, 2012 10:18 AM
Points: 181, Visits: 484
Hi,

email admin says that the computer (IP address) has permission to send email with anonymous.

What is going wrong here
Post #1202887
Posted Wednesday, November 9, 2011 8:06 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Yesterday @ 11:41 AM
Points: 883, Visits: 1,415
The error message suggests it cant "send as" the sender you are specifying... so you said you specified your address as the sender- if you leave the sender address blank what happens?
Post #1202916
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse