Skip to main content

Notifications

Announcements

No record found.

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.
  • Suggested answer
    Pradeep Rai Profile Picture
    Pradeep Rai 5,480 Super User 2024 Season 2 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

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! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,476 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans