Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSRS 2008 mail issue


SSRS 2008 mail issue

Author
Message
pat-261672
pat-261672
SSC-Enthusiastic
SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)

Group: General Forum Members
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
NJ-DBA
NJ-DBA
SSC Eights!
SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)

Group: General Forum Members
Points: 911 Visits: 1546
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.
NJ-DBA
NJ-DBA
SSC Eights!
SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)

Group: General Forum Members
Points: 911 Visits: 1546
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.
pat-261672
pat-261672
SSC-Enthusiastic
SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)

Group: General Forum Members
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
NJ-DBA
NJ-DBA
SSC Eights!
SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)

Group: General Forum Members
Points: 911 Visits: 1546
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/
pat-261672
pat-261672
SSC-Enthusiastic
SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)

Group: General Forum Members
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).
)
pat-261672
pat-261672
SSC-Enthusiastic
SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)

Group: General Forum Members
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!!!
NJ-DBA
NJ-DBA
SSC Eights!
SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)

Group: General Forum Members
Points: 911 Visits: 1546
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.
pat-261672
pat-261672
SSC-Enthusiastic
SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)SSC-Enthusiastic (181 reputation)

Group: General Forum Members
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
NJ-DBA
NJ-DBA
SSC Eights!
SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)SSC Eights! (911 reputation)

Group: General Forum Members
Points: 911 Visits: 1546
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?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search