【7.0.00325.0】【邮件发送问题】
场景描述如下:1、创建一个运行计划,如09:00 推送报表邮件;
2、创建多张报表(10张报表左右),配置09:00这个计划,10张报表在09:00 这个时间一起发送邮件,这个时候就会报错;
好像是同时发送会达到并发链接上限,请帮忙查看有什么解决办法,我们用的是outlook邮箱。
3、另外推送邮件也没有抄送和密送人员,这一点无法满足推送邮件需求;
错误代码如下:
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.
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)
问题描述:
邮件发送问题
问题解决:
您好,针对您的问题:
1. 邮件发送报错的问题,从报错来看是邮件服务器的并发数超过了限制,这个需要在邮件服务器上修改并发的连接数的设置,
这个您可以根据错误提示中的url:https://aka.ms/concurrent_sending中查看:
outlook 邮箱有 每分钟 30 条信息,的限制的,这个在 wyn 上没办法控制,得调整邮件服务器的设置了:
2.抄送和密送。这个功能 我们提了需求,您可以关注需求帖中的进度更新:
【GEF-11664】邮件增加抄送和密送功能
https://gcdn.grapecity.com.cn/showtopic-217562-1-1.html
(出处: 葡萄城开发者社区)
页:
[1]