I have been unable to successfully send an email from my project builds. I have added the following section to the project in the ccnet.config file and nothing happens. I was hoping for some sort of trace or error messages in the build log assuming something is wrong.
<xmllogger logDir="C:\Build\src\Library\TestLibrary\BuildLogs" />
<artifactcleanup cleanUpMethod="KeepLastXBuilds" cleanUpValue="5" />
<email from="[email protected]" mailhost="mail.corp.test.com" mailport="25" mailhostUsername="batch" mailhostPassword="password" includeDetails="TRUE" useSSL="FALSE">
<user name="Eric Schrama" group="buildmaster" address="[email protected]"/>
<group name="buildmaster" notifications="always"/>
Email errors typically appear in the event viewer on the server. If the error was recognized by cruise control it would also typically show a failing task in the dashboard, along with a successful build.
You should ask the smtp server asministrator to get the log.
The error can be catch by CC.NET, resulting in an exception on the dashboard (if smtp if not accessible) but as it is in publish section, the global build will still be success.