I am trying to configure my CruiseControl.NET server to send emails to those the contribute to the source; however, I cannot seem to configure the email publisher properly. I am receiving the following error from CruiseControl.NET.
Exception: Unused node detected: <subjectSettings><subject buildResult="Success" value="Build Successful! Have a cookie!"/></subjectSettings>
This is my configuration. The real email addresses have been altered to protect the innocent.
<publishers>
<xmllogger />
<email from="abs@companyx.com" mailhost="email.companyx.com" includeDetails="true" >
<users>
<user name="john@companyx.com" group="buildMasters" address="john@companyx.com"/>
<user name="jane@companyx.com" group="buildMasters" address="jane@companyx.com"/>
<user name="joe@companyx.com" group="developers" address="joe@companyx.com"/>
<user name="jill@companyx.com" group="developers" address="jill@companyx.com"/>
<user name="jerry@companyx.com" group="developers" address="jerry@companyx.com"/>
</users>
<groups>
<group name="buildMasters" notification="always"/>
<group name="developers" notification="change"/>
</groups>
<modifierNotificationTypes>
<NotificationType>Failed</NotificationType>
<NotificationType>Fixed</NotificationType>
<NotificationType>Success</NotificationType>
</modifierNotificationTypes>
<subjectSettings>
<subject buildResult="Success" value="Build Successful! Have a cookie!" />
</subjectSettings>
</email>
</publishers>
How can I properly configure the email publisher to avoid this error?
Are you building CruiseControl from scratch? because it looks like that functionality was only checked in a few weeks ago, and if you are using one of the releases that functionality isn't in there.