Ravendra's Blog

Configuring Email alert settings in TFS 2010


Approach 1

You can configure email settings using following command. Open command prompt window (Run as administrator) in the server where application tier of TFS 2010 is installed. 

TFSConfig ConfigureMail /FromEmailAddress:TeamSystem@contoso.com /SmtpHost:ContosoMailServer 

TFSConfig utility is located at Drive:\Program Files\Microsoft Visual Studio v10.0 Team Foundation Server\Tools. When you run this command please note that it may disable your email alerts, so you need to enable it back. In order to avoid this use the approach described below. 

Approach 2( Prefered)

Run Team foundation server administration console, navigate to Application tier node and Email alert settings group is second in the page launched.

In order to configure email settings in TFS 2008 you need to open web.config file (located at drive:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\Services) for services and manually add following details. (again don’t forget to open your choice of editor using Run as administrator and IISReset once config file is modified).

1.    <add key="smtpServer" value="SMTPServerLocation" />
2.    <add key="emailNotificationFromAddress" value="TFSService@domain.com" />
Advertisements

13 Comments »

  1. Thanks! Very useful info! Helped me a lot in configuring my TFS 2010!

    Comment by Stephan Georgiev — June 2, 2010 @ 9:51 am | Reply

  2. Hello again, as it looks like, the TFS is able to send mail notifications only from SMTP server of local exchange we have in our corporate network. When I tried to specify outside SMTP one, I got error message and the notification sending was failed!
    Any ideas???

    Stephan

    Comment by Stephan Georgiev — June 2, 2010 @ 1:03 pm | Reply

    • Hi Stephan,

      Not sure about this, I havent tried with out of the corporate network. Though I believe this limitation is not caused by TFS; Meanwhile did you tried to send smtp message from your TFS appserver to smtp server. You may try using telnet commands for this purpose.

      For more details you may refer the link below: http://www.activexperts.com/activemail/telnet/

      Comment by douknowit — June 2, 2010 @ 1:27 pm | Reply

  3. Hello,
    Is there a way we can define the port of the mailserver? My mail server listen on another port instead of defaule port 25.

    Comment by praneedh — July 7, 2010 @ 3:52 pm | Reply

  4. Prob a stupid question but how do I enable the Email Alert Settings?

    Comment by Ralf — July 30, 2010 @ 8:42 am | Reply

    • You Open Visual Studio or the web view and right click on the project and choose Project Alerts. In web view it’s the top right settings section.

      Comment by Ben Humphrey — June 16, 2011 @ 9:25 pm | Reply

  5. Any idea how to disable the Email Alert Settings? When I right click a project, I only get an option,’Alert on Change’, to add an email alert.

    Comment by Lynne — November 14, 2011 @ 1:48 pm | Reply

  6. It should be fun to buy a new car! Driving a new car is such a great experience,
    and purchasing the car should be fun as well.
    A lot of people would rather skip the whole purchasing process.

    Keep the stress to a minimum using these tips.

    Comment by cars — May 23, 2013 @ 11:34 pm | Reply

  7. I have interviewed a few parents to attempt to understand what their
    true objection is with their child playing video games. It is an adventurous game filled with fun and excitement.
    The tables used for this unique drinking game can in fact be purchased commercially.

    Comment by Genevieve — June 7, 2013 @ 4:47 am | Reply

  8. hello

    Comment by UsemUnlasse — January 12, 2014 @ 11:00 am | Reply

  9. professional resume writers portland maine

    Configuring Email alert settings in TFS 2010 | Ravendra’s Blog

    Trackback by professional resume writers portland maine — October 31, 2014 @ 9:04 am | Reply


RSS feed for comments on this post. TrackBack URI

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

Blog at WordPress.com.

%d bloggers like this: