RTC 6.0: Change template for the email being sent by plugin
Hi All,
i want to send email when workitem state changes but problem is every state has its own format and different attribute values for email that will be sent as notification when i change workitem state. In current RTC we can set one template that will be used for all email.
So i have written a plugin that checks the workitem's state name and send the mail as per the state. But that is in simple text format. is there any way to make it little more stylish or may be by changing to html format just like we have[text,HTML] in default RTC template. Thanks in advance.
i want to send email when workitem state changes but problem is every state has its own format and different attribute values for email that will be sent as notification when i change workitem state. In current RTC we can set one template that will be used for all email.
So i have written a plugin that checks the workitem's state name and send the mail as per the state. But that is in simple text format. is there any way to make it little more stylish or may be by changing to html format just like we have[text,HTML] in default RTC template. Thanks in advance.
Comments
sam detweiler
Feb 29 '16, 7:44 a.m.How do you create the email content? I assume you hav your own template, as I haven't seen the use of the Email template exposed anywhere.
if you used HTML you can have very elaborate email formats
Naveen Tyagi
Mar 02 '16, 4:38 a.m.Yes. i have my own template but that is in simple text. i want to make it little stylish. i wondering if it is possible.