Where do you mean? I recognise that as the syntax for macro parameters in a template, but how would I use that for a Contour form? Or more importantly, how would my content editors do that for a Contour form?
Would be nice to have the from address easily specified, just like the reply-to address is. Thanks for all the info! Really enjoyed using Contour for this project, it might become a must-have tool for future projects too, especially now you can control the markup.
Setting the from/sender email address for multiple sites
Hi all,
Is there an easy way to specify the from email address on a per-form basis in Contour, without having to extend Contour (like this http://our.umbraco.org/wiki/how-tos/extending-contour,-sending-email-dependent-on-form-selection)?
I have a multilingual site which uses Courier, and ideally each site would use a different FROM address when sending emails with the form data.
Thanks,
David
Comment author was deleted
If it's an option for you to store the email address on a content doc then you can just use the special syntax to use that
Insert page value: [#propertyAlias]
Insert recursive page value: [$propertyAlias]
Hi Tim,
Where do you mean? I recognise that as the syntax for macro parameters in a template, but how would I use that for a Contour form? Or more importantly, how would my content editors do that for a Contour form?
Thanks,
David
Comment author was deleted
You can use that syntax in workflow settings so it would then fetch a value from a content doc...
Comment author was deleted
So lets say on your homepage you have a setting contactFormEmail that your content editors can set that email is then used in the contour form
You mean in the reply-to field, right? I thought that the from address came from umbraco.config?
Comment author was deleted
ah yes didn't spot that :) if you want to define the from address you'll need to extend the workflow type
Comment author was deleted
Or use http://contourcontrib.codeplex.com/SourceControl/changeset/view/5e80fb268d78#Contour.Contrib%2fContour.Contrib%2fWorkflowTypes%2fSendEmailExtended.cs
Hi Tim,
Would be nice to have the from address easily specified, just like the reply-to address is. Thanks for all the info! Really enjoyed using Contour for this project, it might become a must-have tool for future projects too, especially now you can control the markup.
Cheers!
David
is working on a reply...