SSRS 2008 mail issue

  • 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

  • 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 (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.

  • 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

  • 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/

  • 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).

    )

  • 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!!!

  • 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.

  • Hi,

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

    What is going wrong here

  • 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?

  • it says that you must specifiy the sender if you have specified SMTP server. aLSO,

    if is set as the user user.name@company.com then i get follwoing error:

    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.

  • Hmm, I guess the system accuont needs to be granted permissions to "send as" the sender email address you are using.

  • i am sending email by ssrs ,it is working in in domain but it is not working for outside .what should be done.

Viewing 13 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic. Login to reply