tags:

views:

856

answers:

2

I am VERY new with teamcity so please bear with me

I set up an email notifier to let me know when a build has failed, but TeamCity is reporting the following error:

Failed to send email notification via SMTP server mail, due to error: Unknown SMTP host: mail; nested exception is: java.net.UnknownHostException: mail

For the life of me, I cannot find where to configure the mail server settings. I don't even want it to use an SMTP server, but I don't see any options for this anywhere.

+4  A: 

http://www.jetbrains.net/confluence/display/TCD3/Email+and+Jabber+Notifier+Settings

Chris Ballance
aha! Can I have it not use an email server?
George Mauer
If you want it to email you when a build has failed, there's probably not any good way to get around having one.
Chris Ballance
Man, thats a lot of effort for what is basically a server running on my own machine and for my own benefit.
George Mauer
set it to your loopback address if smtp is running locally 127.0.0.1
Chris Ballance
We avoided setting up our own email server for TeamCity by using the SMTP service provided as part of Gmail / GoogleApps. See http://www.activecollab.com/forums/topic/3552/
dthrasher
@dthrasher yeah, I thought of that, but both setting up a new gmail account just for this and using my own are distasteful options. Ill do it later I guess when I'm setting this up for real.
George Mauer
A: 

You can configure your email settings under Administration - Server Configuration - Email Notifier..

Sumeru Suresh