TFS 在安装的时候没有设置SMTP邮件服务器,现在想用,该怎么设置呢?修改WebConfig
TFS 在安装的时候没有设置SMTP邮件服务器,
现在想用,该怎么设置呢?修改WebConfig
if you have installed TFS and have not configured your SMTP server, you may do so as follows:
这是我在网上找的,呵呵
源地址:http://geekswithblogs.net/pjhacker/archive/2006/03/17/72649.aspx
我试了一下,果然有用,我是使用B3R版本,正式版就不知道会不会该,应该不会吧,
要是有可视化的界面修改就更好了,目前,TFS没有一个可视化的管理界面,真可怜。RTM应该有吧。
现在想用,该怎么设置呢?修改WebConfig
if you have installed TFS and have not configured your SMTP server, you may do so as follows:
- On the Team Foundation Server box, navigate to: C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Services. If you have it on a drive other than C:\, besure to change this.
- Open the web.config file
- Modify the following keys:emailNotificationFromAddress,smtpServer
<appSettings>
<add key="ConnectionString" value="Application Name=TeamFoundation;Persist Security Info=False;Initial Catalog=TfsIntegration;Data Source=TFSServerName;Integrated Security=SSPI"/>
<add key="eventingEnabled" value="true" />
<add key="DetailedExceptions" value="true" />
<add key="emailNotificationFromAddress" value="Senders Email Address" />
<add key="smtpServer" value="Your SMTP Server Name" />
</appSettings>
<add key="ConnectionString" value="Application Name=TeamFoundation;Persist Security Info=False;Initial Catalog=TfsIntegration;Data Source=TFSServerName;Integrated Security=SSPI"/>
<add key="eventingEnabled" value="true" />
<add key="DetailedExceptions" value="true" />
<add key="emailNotificationFromAddress" value="Senders Email Address" />
<add key="smtpServer" value="Your SMTP Server Name" />
</appSettings>
这是我在网上找的,呵呵
源地址:http://geekswithblogs.net/pjhacker/archive/2006/03/17/72649.aspx
我试了一下,果然有用,我是使用B3R版本,正式版就不知道会不会该,应该不会吧,
要是有可视化的界面修改就更好了,目前,TFS没有一个可视化的管理界面,真可怜。RTM应该有吧。
posted on 2006-03-23 17:16 无为而为-凡事从积极的态度做起 阅读(1550) 评论(2) 编辑 收藏 举报