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

Update Email.cs #105

Closed hanc2006 closed 2 years ago

hanc2006 commented 9 years ago

More flexibility by sending a separate model. Useful when preparing a model and then send it to an external service like Hangfire. The preparation of the model is done by the program, while the use is delegated to another service that must be able to reconstruct the model with data. I tried using the object Posta.Email, but the serialization fails for its complexity and class inheritance from DynamicObject.

migig commented 9 years ago

@hanc2006 See my similar problem and solution here.

What do you think? Does it work for you too?