Get Umbraco Certified in October

5 courses in 4 different countries across 2 continents leaves no excuse.

Attend courses in the Netherlands, UK, USA and at Umbraco HQ in Denmark.

See the schedule and read more about our training here.

Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Carl 57 posts 79 karma points
    Feb 16, 2012 @ 13:00

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


    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 Fulton4551 karma points c-trib
    Feb 16, 2012 @ 14:03
    Tom Fulton

    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.


  • Carl79 karma points
    Feb 16, 2012 @ 14:34

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

  • Kalle Ekstrand255 karma points c-trib
    Apr 09, 2012 @ 20:24
    Kalle Ekstrand

    Hello Carl,

    Did you manage to make anything out of this?

    I am looking into making the same.


Please Sign in or register to post replies

Write your reply to:

Draft is the community mothership for Umbraco, the open source cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community. This site is running Umbraco version 7.3.0