So, I write this EXE to process refunds, and when the work is done, we send an email to the list of users, which will probably look like this:
DO NOT REFUSE
Return processing completed. N returns were successfully processed. We encountered N errors. Please check http: //whatever.url for a detailed report.
Thanks,
A computer
DO NOT REFUSE
So, we are not talking about grinding hundreds of letters here, only once a day with relevant information. It is unlikely that this letter will ever be amended and will never be non-technical personnel. How should I store this and process the template in an email? C # String.Format style with {0} and {1} etc.? XML / XSLT (seems like a hassle)? Should I store the template in App.config or put it in a database or something else?
What did I do before StackOverflow? :)
source
share