the default number of concurrent connections supported by MS smtp mail is 3. Business Central attempts to use more than 3 channels and we end up with email that fail to send. I have reduced the sending rate to only 15 per minute and we still get this issue.
Has anyone who has had this issue, looked into modifying BC to limit the channels used or some other solution to this issue?
Good morning, afternoon, or evening :) depending on your location! This seems to stem from the default limit of three concurrent connections supported by Microsoft's SMTP mail server. Here are some potential solutions to address this:
Rate Limiting: Business Central allows you to set a rate limit for email sending. You can configure this in the "Set Up Email" assisted setup guide or modify the rate limit per minute directly on the "Email Accounts" page. This might help ensure emails are queued rather than blocked.
Retry Mechanism: Design the application to retry submitting emails when the concurrent connection limit is exceeded. This can help manage intermittent failures.
Use Distribution Lists: Instead of sending emails to individual recipients, consider using distribution lists. This approach is more efficient and avoids throttling issues.
Separate Mailboxes: If possible, use different mailboxes for different applications or devices. This can help distribute the load and reduce the likelihood of hitting the concurrent connection limit.
Third-Party SMTP Services: Explore third-party SMTP services that might offer higher concurrent connection limits or better handling of bulk email sending.
Hope this helps some!
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.