Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Is there a limit to the number of emails, at once, that SysOutgoingEmailTable can handle?

(0) ShareShare
ReportReport
Posted on by 3,081

I have some new functionality that sends emails (In the hundreds) to our customers. 

The problem I'm running into is that after inserting into SysOutgoingEmailTable, anything beyond 20 emails will automatically fail. I'm not sure why 20 is the magic number, however, it is amazingly consistent in it's failure after 20.

Is there a setting somewhere or some other setup that could be changed to accommodate more emails at once?

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Is there a limit to the number of emails, at once, that SysOutgoingEmailTable can handle?

    Hi Brad,

    The only suggestion I can offer here is to debug the batch job and see if it is limiting the number of mails anywhere. You can check here to see how you can debug a batch process.

  • b_radlyjames Profile Picture
    b_radlyjames 3,081 on at
    RE: Is there a limit to the number of emails, at once, that SysOutgoingEmailTable can handle?

    Gunja,

    Very good suggestion. Sadly, same result. Only 20 emails sent, the rest fail.

    Brad

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Is there a limit to the number of emails, at once, that SysOutgoingEmailTable can handle?

    Hi Brad,

    Can you try deleting the current batch job(s) for e-mail distribution and try adding a new batch job and check if that works?

  • b_radlyjames Profile Picture
    b_radlyjames 3,081 on at
    RE: Is there a limit to the number of emails, at once, that SysOutgoingEmailTable can handle?

    Gunjan,

    Good call!  When running the EMail Distributor in the client (Not in Batch), it works PERFECTLY.  Running it in batch causes the emails to fail.

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Is there a limit to the number of emails, at once, that SysOutgoingEmailTable can handle?

    Hi Brad,

    Can you please try to send out the mails manually and see if that works. You can probably put the batch process in "Withhold" state. Please check if there are multiple batch processes that have been set up for the same task.

    You run the mail sending from System administration > Periodic > E-mail processing > Batch. Please make sure "Batch processing" is unchecked. By running this process manually, you can check how many mails are sent out. If it is still limited to 20, I would suggest checking for any customizations done which might be limiting the number of outgoing mails.

  • b_radlyjames Profile Picture
    b_radlyjames 3,081 on at
    RE: Is there a limit to the number of emails, at once, that SysOutgoingEmailTable can handle?

    Gunjan,

    That is a very good idea.  However, after increasing recurrence time to 15 minutes, it still only sent out 20 of the 50 emails.

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Is there a limit to the number of emails, at once, that SysOutgoingEmailTable can handle?

    Hi Brad,

    Please increase this duration to around 15-20 mins and check if all the mails are sent out. Maybe the task is not getting completed properly which is why the number of mails sent out is limited.

  • b_radlyjames Profile Picture
    b_radlyjames 3,081 on at
    RE: Is there a limit to the number of emails, at once, that SysOutgoingEmailTable can handle?

    Ramit,

    There are no such parameters that I can see.

    Gunjan,

    Email job is set to recur every 2 minutes.

    When an email fails it is not captured in the 'Log'. So it doesn't show in the 'Log' button.

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Is there a limit to the number of emails, at once, that SysOutgoingEmailTable can handle?

    Hi Brad,

    Could you please go to batch jobs (System admin > Inquiries > Batch jobs > Batch jobs) and go to the batch job setup for e-mail distribution? Please check a couple of things here -

    1. Please share the "Recurrence settings" for the batch jobs clicking the "Recurrence" button.

    2. Go to the Log button and check if you can see any errors.

  • Suggested answer
    Ramit Paul Profile Picture
    Ramit Paul 22,293 Most Valuable Professional on at
    RE: Is there a limit to the number of emails, at once, that SysOutgoingEmailTable can handle?

    Check in Sys admin- setup- system job parameters

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.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,661 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans