Paul Hacker's Blog

Musings from a "Hacker"
posts - 21, comments - 50, trackbacks - 22

My Links

News



Archives

Configure SMTP after Team Foundation Install

When I initially installed the Team Foundation Server RC I did not configure the SMTP server at that time. I have since wanted to go back and set up Project Alerts, but I was unsure where to modify the settings to get this to work. I search the internet for a bit and to my suprise I found no information on this. Now maybe I was not searching with the correct criteria :-), but I thought that I would get something back that would help me to figure this out, or at least guide me in the right direction. I figured that the setting had to live in a config file somewhere on the Team Foundation Server, so I decided that I would dig around and see what I could find. What do you know, I found it!

So, 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.

It took a few minutes, but I finally started to get the emails coming in.

Hope this helps

pjhacker

Print | posted on Friday, March 17, 2006 11:15 AM |

Feedback

Gravatar

# VSTS Links - 03/20/2006

Jeff Beehler says Team Foundation Server Ships! And so does John Lawrence, complete with a picture of...
3/20/2006 6:15 AM | Team System News
Gravatar

# TFS 在安装的时候没有设置SMTP邮件服务器,现在想用,该怎么设置呢?

TFS ??????????SMTP?????,
????,?????????WebConfig
3/16/2007 12:26 AM | xiaotao
Gravatar

# re: Configure SMTP after Team Foundation Install

Thanks for the post, this was very helpful
8/28/2007 1:28 PM | Michael Knopf
Gravatar

# re: Configure SMTP after Team Foundation Install

Thank you for this post!
12/21/2007 2:18 AM | Daniel
Gravatar

# re: Configure SMTP after Team Foundation Install

Very helpful. Thank you for posting this.
1/31/2008 11:31 AM | Chris
Gravatar

# re: Configure SMTP after Team Foundation Install

Thank you! Was very helpful to me too :)
5/12/2008 10:16 PM | Upuli
Gravatar

# re: Configure SMTP after Team Foundation Install

A non-refundable application fee is required at the time of the District Interview.
11/21/2008 7:36 AM | rugs
Gravatar

# wow godl

Folks who closely follow the process wow goldon a pardon for former California Rep. Randy "Duke" Cunninghamwow goldwho was convicted and is serving a sentence
11/25/2008 5:41 PM | yangkee
Gravatar

# dofus kamas

In the "Shuanglong crisis" in the incident has been playingwow goldthe vanwow goldguard role of the South Korean
2/6/2009 2:22 AM | dofus kams
Gravatar

# re: Configure SMTP after Team Foundation Install

welcome to the Rom Gold, in here you can buy the Runes of Magic Gold
2/7/2009 2:33 AM | Rom Gold
Gravatar

# re: Configure SMTP after Team Foundation Install

Hi,Paul
we use exchange as our mail server, any conments, it doesn't work if I just add the exchange server name in the "smtp" value. Then I set up smpt service on tfs server, and change the web.config fie again which point to smtp on tfs.....still doesnot work :(
2/19/2009 11:13 PM | simpyp
Gravatar

# re: Configure SMTP after Team Foundation Install

Was useful for me;
thank you
3/11/2009 4:44 AM | mahmoud alam
Gravatar

# re: Configure SMTP after Team Foundation Install

Thanks,
Good info!!
4/6/2009 3:49 AM | C
Gravatar

# google story

The biggest surprise on a busy night of international wow gold
4/16/2009 6:15 AM | google
Gravatar

# re: Configure SMTP after Team Foundation Install

DO you need to have the smtp server on the same machine the tfs is installed for it to work..?.
4/17/2009 2:58 PM | Alex
Gravatar

# re: Configure SMTP after Team Foundation Install

Does not work for me at all..Am using TFS workgroup edition and on a virtual server..Any clues why
4/28/2009 1:31 PM | Alex
Gravatar

# wow gold

Very grateful to my motherwow goldbecause I too enjoy the quiet with my friends
5/27/2009 7:01 AM | jing
Gravatar

# re: Configure SMTP after Team Foundation Install

Very grateful to my motherwow goldbecause I too enjoy the quiet with my friends
6/5/2009 9:44 PM | aion gold
Gravatar

# re: Configure SMTP after Team Foundation Install

i think it is good
6/28/2009 11:27 PM | cheap mesos
Gravatar

# re: Configure SMTP after Team Foundation Install

I like it and hope you too
7/5/2009 9:38 PM | 9Dragons gold
Gravatar

# re: Configure SMTP after Team Foundation Install

Thinking about it
7/29/2009 2:04 AM | raised access floor
Gravatar

# re: Configure SMTP after Team Foundation Install

Great article - thanks!
8/8/2009 9:26 AM | cheap samsung laptops
Gravatar

# re: Configure SMTP after Team Foundation Install

greener printing
We can supply from stock a complete range of greener printing for use with card printer. [URL=http://www.7daysprinting.co.uk]greener printing[/URL].The recently updated greener printing fooers all the features required to create card layouts with ease of simplified operation.
greener printing.Four editions of greener printing are available from the entry level greener printing which allows for connection to external databases and the encoding of contactless greener printing. Whatever your requirement, greener printing has the solution. A greener printing personalisation bureau service is offered, where pre-printed or greener printing can be thermally printed, embossed encoded to your specific requirements. greener printing can also be procuced by digital or litho print methods. Other brands of greener printing can also be supplied.
8/24/2009 8:39 AM | molly
Gravatar

# re: Configure SMTP after Team Foundation Install

smart card
We are part of a vast network of smart card solution partners with expertise in areas of smart card manufacturing, and smart card personalization. [URL=http://www.smartcard-supplier.co.uk]smart card[/URL].Almost two-thirds of adults who pruchase smart card spent more than the original limit on the card at the store. smart card .Smart card is ideal for loyalty cards. Unlike magnetic stripe cards, smart card works offline. Imagine a computer so small it fits inside a smart card the same size as any credit card you carry in your wallet. Im agine the smart card.You can start your own affordable loyalty program with smart cards. Smart card developers have many choices of smart card systiem design.
8/24/2009 8:40 AM | molly
Gravatar

# re: Configure SMTP after Team Foundation Install

online card printing
If online card printing service for whatever reason, online card printing may be the most important aspect to a particular user group.
[URL=http://www.7days-printing.com]online card printing[/URL]. Users need to be aware of what online card printing are available. online card printing readers are sophisticated devices with built-in intelligence.
online card printing. online card printing readers are found in notebooks. Combining online card printing with biometrics can make online card printing even more convenient and secure. Have a look at some state-of-the-art online card printing readers. And we also sales engineering services to online card printing.
8/24/2009 8:41 AM | molly
Gravatar

# re: Configure SMTP after Team Foundation Install

cheap plastic card printing
A cheap plastic card printing is used in or at a terminal. Before a user can use a cheap plastic card printing, the terminals in which the cheap plastic card printing can be used must be located.
[URL=http://www.7days-plasticcards.co.uk]cheap plastic card printing[/URL]A user’s first interaction with a cheap plastic card printing service is the process to receive a cheap plastic card printing.
cheap plastic card printing.This is called cheap plastic card printing issuance and covers activities such as how a user applies to access the service, how a suitable cheap plastic card printing is distributed and how it is activited for use. Naturally, a central consideration for a cheap plastic card printing service is the cheap plastic card printing itself. It is important, therefore, that the design of available cheap plastic card printing types cater for the whole user population.
8/24/2009 8:41 AM | molly
Gravatar

# re: Configure SMTP after Team Foundation Install

plastic card company
Perhaps it goes without saying that plastic card company accessed using a smart card should be as easy to use as possible for all groups of users, but plastic card company is important that every effort is made to achieve this goal. [URL=http://www.7daysprinting.com]plastic card company[/URL].When designing for plastic card company, it is useful to consider how a user interacts with all plastic card company to ensure that all aspects have been considered. plastic card company.The plastic card company provides a description for IT procurement. User interaction covers the plastic card company 's life cycle, from applying for and activating plastic card company, to ending any interaction with the plastic card company.
8/24/2009 8:41 AM | molly
Gravatar

# re: Configure SMTP after Team Foundation Install

jcwy ths, yes
10/8/2009 10:26 AM | aion gold
Gravatar

# re: Configure SMTP after Team Foundation Install

why? Thinking about it
10/8/2009 10:27 AM | aion gold
Gravatar

# re: Configure SMTP after Team Foundation Install

Very helpful. Thank you for posting this.
10/8/2009 10:28 AM | wedding dress
Gravatar

# re: Configure SMTP after Team Foundation Install

A non-refundable application fee is required at the time of the District Interview.
10/8/2009 10:29 AM | vwsdwe
Gravatar

# re: Configure SMTP after Team Foundation Install

I slowly will be closed files, trying to break out from those words, but seems to have the invisible power will I on the vision, within the scope of all have become dim. metin2 yanga
10/27/2009 2:22 AM | ttt
Gravatar

# wow gold

Is lonely!wow gold Campus of the University who has clearly inherited the brain remnants of these shares of lonely trend! metin2 goldSome
10/27/2009 3:29 AM | catl
Gravatar

# re: Configure SMTP after Team Foundation Install

How's going on Infants teeth
10/27/2009 10:54 PM | infants
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 

Powered by: