TeamCity not sending email notifications

Jay picture Jay · Mar 26, 2013 · Viewed 9.5k times · Source

I am trying to set up an email notification in TeamCity on my project fail. I have set up some user with their information, but when my project fails. i dont get any email.

I have given all the information in 'Email Notofication' tab and did 'Test Connection' giving my email address and it says connection successful. Just wanted to confirm, should i be expecting/getting an email when testing connection with my email address or system just pings/checks if connection is ok?

In my 'Settings and Tools' (under administrator), i have one watched project under 'Email Notifier' which watches for build fail for my project.

Did anyone encountered this problem before, any help will be appreciated

Thanks

Answer

Isaac Bolinger picture Isaac Bolinger · Dec 15, 2014

Today, I noticed that I also had a "connection successful" dialog after I pressed the 'test connection' button in teamcity 8 but there was no test message sent.

The trouble was I just had "TeamCity" in the circled area below and not "[email protected]". As soon as I added the @bolinger.ca the messages started to go through.

I guess there needs to be some better error handling in TC for this case.

I'm using IIS 6.0 smtp server, but I'm sure sendmail or any other mail server for that matter would not appreciate this error.

enter image description here