andrewdavey / postal

Email sending for asp.net mvc using the view engine system to render emails.
http://aboutcode.net/postal
MIT License
536 stars 168 forks source link

upgraded to vs2012 and mvc 4, Postal is no more working #41

Closed petrhaus closed 12 years ago

petrhaus commented 12 years ago

seems the problem is here: string RenderView(IView view, ViewDataDictionary viewData, ControllerContext controllerContext) { using (var writer = new StringWriter()) { var viewContext = new ViewContext(controllerContext, view, viewData, new TempDataDictionary(), writer); view.Render(viewContext, writer); return writer.GetStringBuilder().ToString(); } }

view.Render throws a The method or operation is not implemented. Any idea?

Edddy commented 11 years ago

Same issue solved in https://github.com/andrewdavey/postal/issues/46