Copied to clipboard

Flag this post as spam?

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


  • Ross Brooker 6 posts 76 karma points
    Nov 24, 2015 @ 16:06
    Ross Brooker
    0

    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

  • Jeffrey Schoemaker 408 posts 2138 karma points MVP 8x c-trib
    Nov 25, 2015 @ 12:33
    Jeffrey Schoemaker
    0

    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

  • Ross Brooker 6 posts 76 karma points
    Nov 25, 2015 @ 16:31
    Ross Brooker
    0

    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 :)

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Nov 25, 2015 @ 17:30
    Nicholas Westby
    0

    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:

    {email}
    

    At least assuming that was the field that the visitor enters their email address into.

Please Sign in or register to post replies

Write your reply to:

Draft