Copied to clipboard

Flag this post as spam?

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


  • Jon 92 posts 166 karma points
    Mar 01, 2021 @ 11:27
    Jon
    0

    Umbraco Form - Message on Custom Template

    Hi,

    Our client has many forms and each form needs to send a message to the submitter. They would like to use the Templated Email - and use a different message per form.

    They would also like to keep the message updated from time to time using the CMS. Is there a way that we can do this? At the moment I can only see a way that we could create different templates in source and NOT allow the client to keep the text editable in the CMS.

    Is this possible?

    Thanks

  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Mar 01, 2021 @ 12:50
    Warren Buckley
    1

    Hi Jon 👋

    Have you taken a look at the source code of the Example-Template.cshtml razor view found at Views/Forms/Partials/Emails ?

    In a comment towards the top it mentions the following

    // You can use Umbraco.TypedContent & Umbraco.TypedMedia etc to use Images & content from your site
    // directly in your email templates too
    

    You could then use a specific piece of content from the CMS to be used in your email template.

    Hope that helps you,
    Warren

  • Jon 92 posts 166 karma points
    Mar 01, 2021 @ 13:04
    Jon
    0

    Hi - but how can the CMS user - who has no access to the Templates - pick which CMS TypedContent?

    The CMS editor basically needs to create a new Form and add a new message to the new form - without any intervention from a developer - and still use a Custom Template styled email

Please Sign in or register to post replies

Write your reply to:

Draft