locked
Send Email Plugin Fire only on Send.... RRS feed

  • Question

  • 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?

     

    Wednesday, March 19, 2014 3:55 PM

All replies

  • Try inspecting InputParameters to see what all parameters are available.
    Wednesday, March 19, 2014 7:46 PM