Using LINQ to do email templates

So recently I was working on project where a client wanted to have customisable email templates which could be merged with data from their database so we store the email as an XML document and have a series of placeholders within it to allow easy editi…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

So recently I was working on project where a client wanted to have customisable email templates which could be merged with data from their database so we store the email as an XML document and have a series of placeholders within it to allow easy editing to customise the wording, layout, etc. But because there's quite a lot of different email "data sources" we wanted a nice and easy way so we didn't have to constantly write merge methods, having a single method which handles it all is the best idea.


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate
APA
Posts on LINQ to Fail | Sciencx (2023-02-04T22:07:01+00:00) » Using LINQ to do email templates. Retrieved from https://www.scien.cx/2008/09/27/using-linq-to-do-email-templates/.
MLA
" » Using LINQ to do email templates." Posts on LINQ to Fail | Sciencx - Saturday September 27, 2008, https://www.scien.cx/2008/09/27/using-linq-to-do-email-templates/
HARVARD
Posts on LINQ to Fail | Sciencx Saturday September 27, 2008 » Using LINQ to do email templates., viewed 2023-02-04T22:07:01+00:00,<https://www.scien.cx/2008/09/27/using-linq-to-do-email-templates/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Using LINQ to do email templates. [Internet]. [Accessed 2023-02-04T22:07:01+00:00]. Available from: https://www.scien.cx/2008/09/27/using-linq-to-do-email-templates/
CHICAGO
" » Using LINQ to do email templates." Posts on LINQ to Fail | Sciencx - Accessed 2023-02-04T22:07:01+00:00. https://www.scien.cx/2008/09/27/using-linq-to-do-email-templates/
IEEE
" » Using LINQ to do email templates." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2008/09/27/using-linq-to-do-email-templates/. [Accessed: 2023-02-04T22:07:01+00:00]
rf:citation
» Using LINQ to do email templates | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2008/09/27/using-linq-to-do-email-templates/ | 2023-02-04T22:07:01+00:00
https://github.com/addpipe/simple-recorderjs-demo