Configure SMTP after Team Foundation Install

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 in Red

  <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>

By default, the smtpServer key value will be the name of your Team Foundation Server. be sure you enter a valid SMTP server name and a valid email address for the sender.

  •  Fire up VS2005 and set up a Project Alert if you have not done so already.
  • Cause a change that should fire of an email and check you email to see the results.

============

Using HTML Administration to Configure E-Mail Settings for Windows SharePoint Services

You use the Configure Default E-mail Server Settings page to specify e-mail settings for your server.

Specify e-mail settings for a server or server farm

1.

On the SharePoint Central Administration page, under Server Configuration, click Configure default e-mail server settings.

2.

In the Outbound SMTP server box, type the name of the SMTP mail server to use for sending messages.

3.

In the From e-mail address box, type the e-mail address to send e-mail messages from. This address appears in the From box of any e-mail messages from the server. No e-mail messages are sent to this address, so you can use an unmonitored e-mail address if you want.

4.

In the Reply-to e-mail address box, type the e-mail address that users can reply to. If a user replies to an e-mail message from the server, it will be sent to this address. You should use an address that is monitored for the reply-to address.

5.

In the Character set box, select the character set to use.

6.

Click OK.

posted @   Rickie  阅读(718)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2005-03-12 Images of Ireland Desktop Theme for Windows XP
点击右上角即可分享
微信分享提示