CruiseControl.Net Publisher email failing to send e-mail
Posted
by CrimsonX
on Stack Overflow
See other posts from Stack Overflow
or by CrimsonX
Published on 2010-05-12T21:18:17Z
Indexed on
2010/05/12
21:24 UTC
Read the original article
Hit count: 594
So here's my problem:
I cannot seem to be able to configure CruiseControl.NET to send out an e-mail to me when a build occurs.
I copied the example from the documentation and filled it in with my own values. http://confluence.public.thoughtworks.org/display/CCNET/Email+Publisher
Here's the relevant section of ccnet.config below
<publishers>
<merge>
<files>
<file>C:\Build\Temp\*.xml</file>
</files>
</merge>
<xmllogger logDir="buildlogs" />
<statistics>
<statisticList>
<statistic />
</statisticList>
</statistics>
<email includeDetails="TRUE" mailhostUsername="user" mailhostPassword="password" useSSL="TRUE">
<from>[email protected]</from>
<mailhost>mail.mycompanysmtpserver.com</mailhost>
<users>
<user name="MyName Lastname" group="buildmaster" address="[email protected]" />
</users>
<groups>
<group name="buildmaster">
<notifications>
<notificationType>Always</notificationType>
</notifications>
</group>
</groups>
<modifierNotificationTypes>
<NotificationType>Failed</NotificationType>
<NotificationType>Fixed</NotificationType>
</modifierNotificationTypes>
<subjectSettings>
<subject buildResult="StillBroken" value="Build is still broken for {CCNetProject}" />
</subjectSettings>
</email>
</publishers>
I have had a successful CruiseControl.NET server configured for some time, and it successfully updates people through CCTray, but I need to add e-mail support as well.
I've already looked at the relevant StackOverflow articles like this one and many more and tried my hand at googling the solution but I dont know what I could be doing wrong. The only other thing that I'd like to validate is that I can send/receive e-mails using my username/password with the SMTP server I received from IT (my mail works properly) but I just followed the steps on testing an SMTP server here and everything looks fine http://support.microsoft.com/kb/153119
Anyone have any ideas as to why I'm getting this problem, or how to troubleshoot it further?
© Stack Overflow or respective owner