i have a windows service which sends multiple e-mail alerts in several cases such as,
- Operation performed successfully
- Fatal Exceptions
- Error in information validation
- Maker Checker mechanism
- Authorization
- Pwd life cycle etc.
Right now I send these e-mails as plain text, so sometimes it can get difficult to read the e-mails. If i have to maintain html with placeholders for every type of email or use text templates there will be a lot of work.
Is there any API which could help me generalize these emails and provide a HTML depending upon the type of email?