Can anyone help? Our new website has been built by a third party, but I'm trying to do on-going maintenance.
I'm currently attempting to amend an existing form (for job applications) - currently on submission a workflow generates an email to the HR department, but what it also needs to do is send a 'thank you, your application has been received' email to the person submitting the form.
I've found this thread which contains an additional piece of workflow code, but I'm ashamed to admit I don't know how to get it to work. However, it is a couple of years old, so maybe the facility has been added to the current Contour code and I don't even need to go there... any pointers would be gratefully received!
And you can always install the PerplexMail-package (https://our.umbraco.org/projects/backoffice-extensions/perplexmail-for-umbraco/) to make sending emails even easier.
Unfortunately it looks like our Dev and UAT environments are a bit compromised as we've blocked emailing in order to prevent "accidents"... so I'll be testing the change directly in live during the next maintenance period.
Hopefully then I'll be marking this as the solution and giving you a big High Five :)
You actually don't need a custom workflow. You can set the recipient of an email based on a value from the form. So, if the site visitor enters their email in the "Email" field of the form, you can have an email sent to the value in that field.
Since it seems you want two different emails, you'd just create two workflow steps. One to your internal team, and the other to whatever the visitor typed into the "Email" field.
Automatic response email on submitting form
Hi,
Can anyone help? Our new website has been built by a third party, but I'm trying to do on-going maintenance.
I'm currently attempting to amend an existing form (for job applications) - currently on submission a workflow generates an email to the HR department, but what it also needs to do is send a 'thank you, your application has been received' email to the person submitting the form.
I've found this thread which contains an additional piece of workflow code, but I'm ashamed to admit I don't know how to get it to work. However, it is a couple of years old, so maybe the facility has been added to the current Contour code and I don't even need to go there... any pointers would be gratefully received!
Thanks, Ross
Hi Ross,
you can add an additional workflow and send this second mail to the submitter. How that is done you can find over here: https://our.umbraco.org/forum/umbraco-pro/contour/23364-Send-html-thank-you-email-to-submitter-of-a-form
And you can always install the PerplexMail-package (https://our.umbraco.org/projects/backoffice-extensions/perplexmail-for-umbraco/) to make sending emails even easier.
Good luck, Jeffrey
Jeffrey, thanks very much for your reply...
Unfortunately it looks like our Dev and UAT environments are a bit compromised as we've blocked emailing in order to prevent "accidents"... so I'll be testing the change directly in live during the next maintenance period.
Hopefully then I'll be marking this as the solution and giving you a big High Five :)
You actually don't need a custom workflow. You can set the recipient of an email based on a value from the form. So, if the site visitor enters their email in the "Email" field of the form, you can have an email sent to the value in that field.
Since it seems you want two different emails, you'd just create two workflow steps. One to your internal team, and the other to whatever the visitor typed into the "Email" field.
You can find the syntax for that here: https://our.umbraco.org/forum/umbraco-pro/contour/6750-Workflow-Sending-an-email-to-the-User
Seems like you'd just set the recipient of the email to:
At least assuming that was the field that the visitor enters their email address into.
is working on a reply...