Some of my scheduled tasks generate errors in the ServiceAgent log like:
Telerik.ReportServer.ServiceAgent.exe Error: 0 : Sending an email message failed: System.Net.Mail.SmtpException: Exceeded storage allocation. The server response was: 4.3.1 Message size exceeds fixed maximum message size at System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse) ...
and
Telerik.ReportServer.ServiceAgent.exe Error: 0 : Sending an email message failed: System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) ...
In these cases, the report document seems to be generated correctly, however, it is too large to be attached to an email and there aren't any emails sent to the users.
It would be helpful to have at least notifications sent to the admin that the task was executed, but the emails were not sent due to particular reasons.