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 34 posts 187 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

Please Sign in or register to post replies

Write your reply to:

Draft