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

Inheritance update #134

Open CodeAnimal opened 8 years ago

CodeAnimal commented 8 years ago

Update the accessibility levels of the EmailParser and EmailViewRenderer classes to be virtual, to aid in creating custom implementations that tweak the function of the default EmailParser and EmailViewRenderer implementations.

Also update the Email.ImageEmbedder field to be protected internal to allow make implementing customer IEmailParsers and IEmailViewRenderers a little easier, as it needs access to the ImageEmbedder field to get the embedded images, this way now we can create a customer EmailBase class that inherits the Email class that exposes the ImageEmbedder field internally.