web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Workflow email not sending

(1) ShareShare
ReportReport
Posted on by 7
Hey community!
I'm facing a peculiar issue with my Dynamics 365 environment, specifically when attempting to send emails using a workflow. Strangely, the error surfaces only in the workflow-triggered scenario, while manual email creation works.
Investigation Details:
Upon delving into the error logs, it seems the problem lies in the custom plugin 'OCM.XRM.Plugins.EmailPlugin.' Here's a snippet of the plugin trace:
Plugin Trace:
[Microsoft.Xrm.Sdk.Workflow: Microsoft.Xrm.Sdk.Workflow.Activities.SendEmailFromTemplate]
[SendEmailStep1]

    [OCM.XRM.Plugins: OCM.XRM.Plugins.EmailPlugin]
    [980270e3-4423-e611-9428-005056b2445d: OCM.XRM.Plugins.EmailPlugin: Create of email]
Error Message:
Unhandled Exception: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: Unable to load file or assembly 'OCM.XRM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ee9feab2ca454cd2' or one of its dependencies. The specified file can not be found.
I have the same question (0)
  • Suggested answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at
    Workflow email not sending
     
    You need to use ILMerge to assembly.

    Thank You,
    Pradeep Rai.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 179 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 110

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 61 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans