测试生活

本Blog将不在更新,转入如下地址 http://123.127.140.50/ztest/default.aspx

导航

TFS 在安装的时候没有设置SMTP邮件服务器

Posted on 2008-04-22 10:19  张天利  阅读(478)  评论(0编辑  收藏  举报
TFS 在安装的时候没有设置SMTP邮件服务器,现在想用,该怎么设置呢?     CSDN Blog推出文章指数概念,文章指数是对Blog文章综合评分后推算出的,综合评分项分别是该文章的点击量,回复次数,被网摘收录数量,文章长度和文章类型;满分100,每月更新一次。
TFS 在安装的时候没有设置SMTP邮件服务器,
现在想用,该怎么设置呢?修改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> 

 源地址:http://geekswithblogs.net/pjhacker/archive/2006/03/17/72649.aspx

Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1531226