how to access/manipulate contents of email template in c#? RRS feed

  • Question

  • Hello, how can I manipulate the contents of an email based on an email template in C#?  For example, let's say I have a case email subject like this:

    This is your [SIZE] case: {!Case:Title;}

    Let's say I have code that determines if [SIZE] should be "big" or "small" based on a calculation that I perform in my EmailManager class that generates the email.

    How can I switch out the [SIZE] variable with the calculated variable in my EmailManager class before sending the final email?

    Thursday, June 19, 2014 11:17 PM

All replies

  • found the answer: InstantiateTemplateResponse
    Friday, June 20, 2014 12:10 AM