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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...