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 @ 2008-03-12 08:56  Rickie  阅读(715)  评论(0编辑  收藏  举报