Hi everyone,
I have created an email plugin. It is registered on create and update of the email activity.
However, I only want the plugin to fire only on send.
When I set the message in the plugin registration to "send" I get error "Given Key not present in the dictionary"
Line of code that fails:
Entity email = (Entity)pluginExecutionContext.InputParameters["Target"];
Plugin works ok when set the message to create.
Any ideas on how I can get it working on Send?