cshtml (razor) file as email template RRS feed

  • Question

  • User2046726303 posted


    I am creating an email sending application in mvc3. I want to use the cshtml (razor) file as email template.

    I want to create a template.cshtml and pass the model data to this template.cshtm using controller and get the html. Use this html as the body of the mail.

    But I do not how it’s possible.

    Thanks in advance.

    Thursday, January 19, 2012 10:57 AM


All replies