Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TeamCity not sending email notifications

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

like image 969
Jay Avatar asked Mar 26 '13 12:03

Jay


2 Answers

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

like image 83
Isaac Bolinger Avatar answered Nov 04 '22 18:11

Isaac Bolinger


You have to ensure that the VCS username setting in your TeamCity account matches how it is configured in the VCS root.

like image 29
Robin Green Avatar answered Nov 04 '22 19:11

Robin Green