views:

136

answers:

1

I want to send an email if the build fails to the developers, with the fail details. I'm also wants to send a success email to the project admins, etc with the address to the new test application.

What is the proper tool to send the actual mail, TeamCity or NAnt?

+2  A: 

You could use Nant to send email, but TeamCity is more appropriate, as it can provide a centralized place for notifications, including emails.

alt text

TeamCity provides a wide range of notification possibilities to keep developers informed about the status of their projects.
Notifications can be sent by:

  • e-mail,
  • Jabber/XMPP instant messages or
  • can be displayed in the IDE (with the help of TeamCity plugins) or
  • the Windows system tray (using TeamCity Windows tray notifier).

Each user can select the events to receive notifications for on My Settings And Tools page. The notification messages can be customized globally on per-server basis.

So it is not just about how to send the mail, but also how to manage the notification process, from the server and from the client perspective.

VonC