This topic describes how to configure email notifications on a project-specific and component-specific basis using the change request component as an example. You should have already enabled email support and email notification messages.
<rule-list> <rule project=”MyProject” event=”new” template=”MyProject-cr-new-txt”/> <rule project=”MyProject” event=”modified” template=”MyProject-cr-modified-txt”/>
In the above example, “MyProject” corresponds to your specific project name. These entries must go before the following default <rule project="*" event="new" template="cr-new-html"/> and <rule project="*" event="modified" template="cr-modified-html"/> entries.
<template-list> <template-id=”MyProject-cr-new-txt”> <subject>New Change Request #~~ChangeNumber~~</subject> <body content-type>”text/plain” template-file=”.\MyProject-cr-new.txt”/> </template> <template-id=”MyProject-cr-modified-txt”> <subject>Modified Change Request #~~ChangeNumber~~</subject> <body content-type>”text/plain” template-file=”.\MyProject-cr-modified.txt”/> </template>