TFS 2012 团队警报不发送电子邮件 [英] TFS 2012 Team Alerts not sending emails
问题描述
我无法让 TFS 2012 的团队警报正常工作.我的问题与这个问题基本相同(),只有管理控制台中的复选框
截至目前的主要线索:
- TFS 在哪里选择[会员的默认警报地址]?
- 为什么启用/禁用的警报不匹配?
在按照此处的所有说明操作后(并发现奇怪的未记录的启用/禁用配置),我仍然遇到同样的问题.
然后我阅读了这个问题- 似乎答案是一样的:如果没有 Active Directory,TFS 将不会发送团队警报.用户可以设置他们的首选电子邮件地址,然后 TFS 会将其作为[会员的默认电子邮件地址]"同步到 Active Directory.如果未找到 Active Directory,则同步将不起作用,这意味着他们的默认电子邮件为空白.空白电子邮件意味着没有发送警报(这意味着发送失败也没有错误).
因此,除非有人编写了插件(或 TFS 团队更改了它在幕后的工作方式),否则您需要 Active Directory 才能使团队警报正常工作.
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
And here is an example of a 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
But the command prompt tool, tfsconfig configuremail says the alerts are disabled
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:
- Where do TFS pick [Members' Default Alert Address]?
- How come there is a mismatch of enabled/disabled alerts?
After following all of the instructions here (and finding that weird undocumented enabled/disabled configuration as well), I still had the same problem.
I then read this question - it seems that the answer is the same: without Active Directory, TFS will not send team alerts. Users can set their preferred email address, which TFS will then sync to Active Directory as the "[Member's default email address]". If no Active Directory is found, that sync won't work, which means their default email is blank. Blank email means no alert sent (which means no error about the sending failing either).
So, unless someone writes a plugin (or the TFS team changes how it works under the hood), you need Active Directory for team alerts to work.
这篇关于TFS 2012 团队警报不发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!