locked
Which message name to use to trigger a plugin when an email is send RRS feed

  • Question

  • There is a plugin in the system  that triggers  on create message name. this looks at email description field removes html tags  and puts the remaining  plain text in a custom field. the problem is that when I do reply on an email under closed activities the existing plugin is triggered right when I click replay and because of that what is being replayed  is not visible for plugin to be striped of html tags and add the remaining  plain text in my custom field.  I need a plugin that triggers after  the text in the last replay has been typed, and I think that would be when I click send.

    Which message name I should use for this such that I have access to the same fields?

    Thank you
    • Edited by _cram Friday, May 17, 2013 11:21 AM
    Friday, May 17, 2013 11:19 AM

Answers

  • You could try to read your custom fields contents on Pre-Send message.


    Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
    Vikram !

    • Marked as answer by _cram Friday, May 17, 2013 2:26 PM
    Friday, May 17, 2013 11:31 AM
  • Yes.. !

    Message name : Send

    Entity: email

    Event pipeline stage of execution : Pre-Validation or Pre-Operation.


    Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
    Vikram !



    • Edited by _Vikram Friday, May 17, 2013 12:07 PM
    • Marked as answer by _cram Friday, May 17, 2013 2:27 PM
    Friday, May 17, 2013 12:06 PM

All replies

  • You could try to read your custom fields contents on Pre-Send message.


    Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
    Vikram !

    • Marked as answer by _cram Friday, May 17, 2013 2:26 PM
    Friday, May 17, 2013 11:31 AM
  • Thanks for reply.

    I am not sure there is  Pre-Send message. I see in my plugin Registration tool a 'Send' message available. Is this the one you mean? Thanks


    Friday, May 17, 2013 12:02 PM
  • Yes.. !

    Message name : Send

    Entity: email

    Event pipeline stage of execution : Pre-Validation or Pre-Operation.


    Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
    Vikram !



    • Edited by _Vikram Friday, May 17, 2013 12:07 PM
    • Marked as answer by _cram Friday, May 17, 2013 2:27 PM
    Friday, May 17, 2013 12:06 PM
  • Thanks a lot
    Friday, May 17, 2013 2:26 PM