SharePoint 2019: 2010 Workflow Email Action intermittently not working

Rob Roach 1 Reputation point
2021-10-05T16:45:03.167+00:00

I have a SharePoint 2010 workfow with the standard Email action that intermittently will throw an error in the workflow history 'The e-mail message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly'.

A review of the ULS logs show a message (Category = E-mail) " #50043: The operation failed because an unexpected error occurred. (Result Code: 0x00000000)" and then a few entries later (Category = General) "Cannot complete this action. Please try again.0x80004005".

The farm is running SharePoint 2019.

The hardest thing about this issue is that it is random (as far as I can tell). The workflow works and sends email most of the time, but fails with the workflow history and ULS entries above from time to time.

Any help is appreciated!

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,624 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CaseyYang-MSFT 10,341 Reputation points
    2021-10-06T03:11:55.523+00:00

    Hi @Rob Roach ,

    Whether this issue happens to all users?

    1.Make sure that for sending emails via workflow that the user's login is entered (via workflow lookup) as type Display or Email.
    2.Make sure that the user's profile information in UPS is complete. In particular, verify that the user has an email entered into his or her UPS profile.
    3.If any changes to the user's profile information in UPS are made, followup with full crawls of both user profiles and My Sites content.

    For more detials: The e-mail message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly.


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.