TFS 在安装的时候没有设置SMTP邮件服务器,现在想用,该怎么设置呢?
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
现在想用,该怎么设置呢?修改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
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1531226