Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

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

Posted on by 3,041

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?

Categories:
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,417 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,041 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,417 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,041 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,417 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,041 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,417 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,041 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,417 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 18,463 Super User 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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,420 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,672 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans