Try to sending email not working with suscription in Reporting Services

Amin 1 Reputation point
2021-12-20T18:02:10.847+00:00

Try to sending email not working with suscription in Reporting Services, the error is :

emailextension!WindowsService_29!475c!12/20/2021-07:00:08:: e ERROR: Error sending email. Exception: System.AggregateException: One or more errors occurred. ---> System.Net.Mail.SmtpException: The server committed a protocol violation The server response was:
at System.Net.Mail.SendMailAsyncResult.End(IAsyncResult result)
at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan timeout)
at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
---> (Inner Exception #0) System.Net.Mail.SmtpException: The server committed a protocol violation The server response was:
at System.Net.Mail.SendMailAsyncResult.End(IAsyncResult result)
at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result)<---
. Additional Information: SmtpException StatusCode:GeneralFailure
notification!WindowsService_29!475c!12/20/2021-07:00:08:: e ERROR: Error occurred processing subscription d218375a-a99f-4b7a-98e5-4bbcb6f4b6d2: Failure sending mail: One or more errors occurred.Mail will not be resent.

is any idea to solven the error?

Best regards

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
{count} votes

13 answers

Sort by: Most helpful
  1. Amin 1 Reputation point
    2021-12-21T16:53:26.797+00:00

    Thanks for the answers.

    I have configure the subscription with office 365 in cloud, we have around 970 subscriptions enabled.
    I investigated that Microsft have restrictios with STMP sending emails it's 30 emails each minute.

    Some subscriptions are sent but others are not random. Every day I have about 300 errors for mailing.

    Could is the root issue?

    Best regards


  2. Ilan Myers-Prudhomme 1 Reputation point
    2021-12-29T17:21:47.31+00:00

    I had this exact same issue. Looking into it, there seems to be a limit in sending emails to the same person within a given timeframe (milliseconds to seconds). I had the error only sending two emails through the subscription if the sendTo was the same email address.

    So if there are duplicate emails in your subscriptions, and you are using Microsoft365 for SMTP, you might be running into this limit as well. I was getting the error every time, then I changed one of the email addresses to a different address and everything went through successfully and has since. No other changes were needed.

    0 comments No comments

  3. Joshua Pries 1 Reputation point
    2021-12-31T19:03:31.997+00:00

    I am having the same issue. However we are just starting up our report server and only have 7 active subscriptions. Still with these 7 we have a random amount (usually about half) failing every day. The error log looks exactly like the one Mexman posted with SMTP being setup through port 587 on office 365. There aren't any duplicate recipients in the subscriptions that are set to send at the same time. Does anyone have any other leads on what might be causing this?

    0 comments No comments

  4. 04147834 6 Reputation points
    2022-01-04T11:43:05.92+00:00

    If it is of any assistance...I don't believe the problem is with the SMTP server. I tried switching the SMTP server and it too resulted in the error. The second SMTP server did not register any login attempts or appear to have any activity from the SSRS server. Also, this SSRS server only has four subscriptions that run once per day being sent to one email address - doesn't seem to be a sending limit.


  5. Mike (Elcee) 6 Reputation points
    2022-01-05T11:34:55.857+00:00

    We are too facing this issue since recently! Using SRSS and Exchange Online/Office365

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.