I have a very simple send email form on my website: http://www.clarity.co.uk/careers/opportunities/apply.aspx. I want to be able to send the email from the email address entered in my form by the user. I can't see anyway to do this from the admin tools and it comes by default from the static value in the settings [email protected].
I found this article http://our.umbraco.org/forum/umbraco-pro/contour/6201-Sending-custom-emails-with-contour---howto in my search for how to fix this issue and to have a url in the email to link to any attached files. It seems very complicated for what is very basic form functionality. Is this the only/easiest way to achieve what I need? If I must go down this route is the workflow class to be put in the App Code folder of the umbraco site or does it have a specific location in the site structure?
Also, I'm trying to avoid using XSLT and have written all other macros in razor. Mainly because I don't really know XSLT and would rather stay away from it if at all possible.
Thanks in advance for any pointers/examples of code :)
Thanks for the reply. On the face of it, the Contour contrib send email extended workflow does what I need. Unfortunately, as soon as I configure my workflow to use this it stops sending emails altogether for some reason. No SMTP errors from what I can see.
Perhaps I am missing something so shall keep investigating.
Simple send email form
Hello,
I have a very simple send email form on my website: http://www.clarity.co.uk/careers/opportunities/apply.aspx. I want to be able to send the email from the email address entered in my form by the user. I can't see anyway to do this from the admin tools and it comes by default from the static value in the settings [email protected].
I found this article http://our.umbraco.org/forum/umbraco-pro/contour/6201-Sending-custom-emails-with-contour---howto in my search for how to fix this issue and to have a url in the email to link to any attached files. It seems very complicated for what is very basic form functionality. Is this the only/easiest way to achieve what I need? If I must go down this route is the workflow class to be put in the App Code folder of the umbraco site or does it have a specific location in the site structure?
Also, I'm trying to avoid using XSLT and have written all other macros in razor. Mainly because I don't really know XSLT and would rather stay away from it if at all possible.
Thanks in advance for any pointers/examples of code :)
Michael
Comment author was deleted
Well the standard email workflows send from an email address defined in the /config/umbracosettings.config file.
To have control over the from email address you'll need a new worklow where it's a setting.
Then the value of that setting should be {record.email} (depending on how your field is called)
Creating the updated workflow should be easy since it's basicly just adding a new setting.
To get started: http://our.umbraco.org/projects/developer-tools/umbraco-contour-shared-source
Maybe there is already a workflow available where you have control over the sender but not 100% sure, check out the contour control project for that
http://our.umbraco.org/projects/developer-tools/contour-contrib
Thanks for the reply. On the face of it, the Contour contrib send email extended workflow does what I need. Unfortunately, as soon as I configure my workflow to use this it stops sending emails altogether for some reason. No SMTP errors from what I can see.
Perhaps I am missing something so shall keep investigating.
is working on a reply...