x First time here? Check out the FAQ
Join the North American Umbraco Festival in March 2015
  • Avatar55posts77karma

    Workflows - Sending the form to a different email address dependent on input

    Carl started this topic February 16, 2012 @ 01:00, Go directly to the topic solution


    I was wondering if it was possible to change the workflows of the submitted form to send to a diffrent email address dependant on input. There was nothing in the settings I could see but does Contour expose any events I could hook into prior to sending the email where I can modify the 'to' address dependant on form input



  • Tom Fulton posted this reply February 16, 2012 @ 02:03

    Hi Carl,

    You have a couple options.  First, Contour has some special syntax you can use in your workflow settings.  One that might work for you is to grab a value from the current page for the To address, you can do so by entering [#propertyAlias] in the workflow settings.  You can also grab form fields using {fieldcaption} if for example you wanted to send to the person filling out the form.  More info on these in the Developer Docs.

    If you need more flexibility you can always create a custom workflow type.  This is very simple and then you have full control over where you obtain the "to" address from.  You can look at the source for the Send Mail Extended Workflow Type in Contour Contrib for a starting point, or check out the Contour Shared Source.


  • Carl posted this reply February 16, 2012 @ 02:34

    Thanks Tom - Second time in a week you've helped on here :)

  • Kalle Ekstrand posted this reply April 9, 2012 @ 08:24

    Hello Carl,

    Did you manage to make anything out of this?

    I am looking into making the same.


Please login or Sign up To post replies