Copied to clipboard

Flag this post as spam?

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


  • Tiago Mendes 1 post 71 karma points
    Mar 18, 2019 @ 10:03
    Tiago Mendes
    0

    Formulate Email Body Template

    Hello,

    I'm using the formulate to create my dynamic forms, but i dont know how to change the email body message.

    For example: I want to put labels on bold, change the payload labels or add some information on it.

    Can you help?

  • AddWeb Solution Pvt. Ltd 109 posts 353 karma points
    Mar 27, 2019 @ 06:56
    AddWeb Solution Pvt. Ltd
    0

    Hi Tiago Mendes,

    An approach that we have sometimes used at my work is to invent our own template tags.

    So in Umbraco you can setup a section for e-mail receipts and then have a receipt document type where you can allow the editor to customize the receipt.

    So you can give them a rich text editor and then invent some template tags like ##NAME##,##PASSWORD## and ##EMAIL## so the editors can write something like

    Hi ##NAME##

    Your password is ##PASSWORD## and we sent it to you on ##EMAIL##

    Then you can do a replace for the "template tags" when you're rendering/sending.

    You can refer below Github code link its may be help for you

    http://www.netaddicts.be/umbraco/a-developers-take-on-sending-emails-in-umbraco/.

    The post uses an outdate version on ActionMailer but the idea is the same.

    Hope this makes sense.

    Thanks

  • Nicholas Westby 2034 posts 7009 karma points c-trib
    Nov 29, 2020 @ 18:27
    Nicholas Westby
    0

    Bit of a late response, but Formulate Pro supports that: https://www.formulate.rocks/pro/

    It is not something you can easily do out of the box with Formulate. Although, you could create a custom form submission handler if you want to avoid paying for Formulate Pro.

    BTW, the better place to ask these sorts of questions would be the Formulate forum: https://our.umbraco.com/packages/backoffice-extensions/formulate/formulate-questions/

Please Sign in or register to post replies

Write your reply to:

Draft