Home > Microsoft, Windows Server > Configure or Change SMTP after TFS 2005 install

Configure or Change SMTP after TFS 2005 install

Alerts stopped working on our TFS 2005 server after I upgraded our internal mail server (new IP address). In order to get them working again I had to change SMTP server address on TFS. Configuration file with SMTP settings is located in C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Services folder. It is called web.config. Open it with notepad and modify the following keys in bold.

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

Once you’ve done this, restart IIS service.

-Eric

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: