andrewdavey / postal

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

Change EmailViewResult to use the final Parser output... #135

Open CodeAnimal opened 8 years ago

CodeAnimal commented 8 years ago

...rather than the result output.

EmailViewResult now gives an accurate output if a custom parser is used (e.g. when inlining the CSS), as it now uses the MailMessage body as the output, rather than the Renderer's result.

Now also checks for alternative views if no format query is given, to render emails with embedded images.