场景描述如下:
1、创建一个运行计划,如09:00 推送报表邮件;
2、创建多张报表(10张报表左右),配置09:00这个计划,10张报表在09:00 这个时间一起发送邮件,这个时候就会报错;
好像是同时发送会达到并发链接上限,请帮忙查看有什么解决办法,我们用的是outlook邮箱。
3、另外推送邮件也没有抄送和密送人员,这一点无法满足推送邮件需求;
错误代码如下:
[ERR] Grapecity.Enterprise.Server.Services.Messages.EmailService.SMTPEmailSender Send smtp client error.
MailKit.Net.Smtp.SmtpCommandException: 4.3.2 Concurrent connections limit exceeded. Visit https://aka.ms/concurrent_sending for more information. [Hostname=NT0PR01MB1133.CHNPR01.prod.partner.outlook.cn]
at MailKit.Net.Smtp.SmtpClient.ParseMessageDataResponse(MimeMessage message, SmtpResponse response)
at MailKit.Net.Smtp.SmtpClient.MessageDataAsync(FormatOptions options, MimeMessage message, Int64 size, CancellationToken cancellationToken, ITransferProgress progress)
at MailKit.Net.Smtp.SmtpClient.SendAsync(FormatOptions options, MimeMessage message, MailboxAddress sender, IList`1 recipients, CancellationToken cancellationToken, ITransferProgress progress)
at MailKit.Net.Smtp.SmtpClient.SendAsync(FormatOptions options, MimeMessage message, MailboxAddress sender, IList`1 recipients, CancellationToken cancellationToken, ITransferProgress progress)
at Grapecity.Enterprise.Server.Services.Messages.EmailService.SMTPEmailSender.SendEmailAsync(MailMessage message, CancellationToken cancellationToken)
at Grapecity.Enterprise.Server.Services.NotificationCenter.DefaultNotificationChannelProviderFactory.EmailNotificationChannelProvider.SendNotificationAsync(IMessage message, CancellationToken cancellationToken)
at Grapecity.Enterprise.Server.Scheduler.Execution.DeploymentImpl.DeployResult(DeploymentContext context, ScheduledTaskInfo taskInfo, Stream resultContent, String resultName, String contentType, INotificationChannelProviderFactory notificationChannelProviderFactory, IExternalStorageProviderFactory externalStorageProviderFactory, IStorageSessionFactory storageSessionFactory, List`1 claims, CancellationToken token)
at Grapecity.Enterprise.Server.Scheduler.ReportingExportTaskListener.ReadResult(IExecutionContext context, TaskResponseMessage response, Stream stream, CancellationToken token)
at Grapecity.Enterprise.Scheduler.Schedule.Actors.WorkerExecutorActor.RedirectStreamToOutside(IReadResultDirective directive, TaskResponseMessage response, CancellationToken token)
at Grapecity.Enterprise.Scheduler.Schedule.Actors.WorkerExecutorActor.<>c__DisplayClass30_0.<<ExecuteReading>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Grapecity.Enterprise.Scheduler.Common.Streaming.StreamingReceiverImpl.ConsumeStreamAsync(Func`2 readStreamFunc)
at Grapecity.Enterprise.Scheduler.Schedule.Actors.WorkerExecutorActor.ExecuteReading(Func`5 action)
|
|