Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I need to get Razor to accept a Model (v6.0.2) and somehow render the view as an email body.
I am not sure the best way to go about it.
Can anyone help with this please?
Hey Brendan,
Not sure I understand, when you say email body do you need to send an email, or just use this text somewhere else?
Rich
Found the answer here:
http://our.umbraco.org/wiki/reference/code-snippets/razor-snippets/render-razor-scripts-for-emails-and-more
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Using Razor as an email template
I need to get Razor to accept a Model (v6.0.2) and somehow render the view as an email body.
I am not sure the best way to go about it.
Can anyone help with this please?
Hey Brendan,
Not sure I understand, when you say email body do you need to send an email, or just use this text somewhere else?
Rich
Found the answer here:
http://our.umbraco.org/wiki/reference/code-snippets/razor-snippets/render-razor-scripts-for-emails-and-more
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.