TFS 2012 Team Alerts not sending emails

2019-01-14 02:10发布

I am unable to get Team alerts for TFS 2012 to work. My question is basically the same as this one (TFS 2012 Team Alerts do not work). But since i am able to elaborate a bit in my question i decided to ask it again.

  • Personal alerts DO work, so it is not an obvious smtp server error
  • Team alerts DO NOT work
  • Our TFS is not connectd to an active directory
  • All users have specified "Preferred email" in their preferences
  • Users are assigned to teams as specified by my alerts

This is an example of a personal alert that works fine

Example of personal alert that works

And here is an example of a team alert that does not work

Example of team alert that does not work

The setup is basically the same except for the "wildcard" parameters in the filters

Where does TFS pick [Members' Default Alert Address]? Is that not the same as Preferred email?

Any pointers would be appreciated

Addendum

Looking at the Tfs cammand prompt tool (tfsconfig configuremail) and Administration Console raises further questions

Team Foundation Server Administration Console shows enabled alerts and correct settings

Team Foundation Server Administration Console, Email Alert Settings

But the command prompt tool, tfsconfig configuremail says the alerts are disabled

tfsconfig configuremail

I have found no way to acivate alerts with the command prompt tool (http://msdn.microsoft.com/en-us/library/vstudio/dd236903.aspx), only the checkbox in Administration Console

Main clues as of now:

  1. Where do TFS pick [Members' Default Alert Address]?
  2. How come there is a mismatch of enabled/disabled alerts?

标签: tfs tfs2012
8条回答
对你真心纯属浪费
2楼-- · 2019-01-14 03:05

I fixed the issue by sending every member a test alert email from TFS Admin/ Alert Notification screen. My understanding is that through this method it populates these email addresses and knows where to send. Apparently MS testers missed this b/c their group's emails where already cashed somewhere. In my case I have a small startup group, but I can imagine for enterprise group it can be quite a work.

查看更多
女痞
3楼-- · 2019-01-14 03:09

you added alerts in Alert Explorer without specifying any Team Project. Once I added the Team Project filter it started working.

查看更多
登录 后发表回答