Can't receive alerts

i have setup the team foundation beta3 refresh and it runs well. Also, i set my email server address and subscribe alerts i want , but till now, i haven't received any alerts. So who can tell me how to use it. By the way, my SMTP require authentication, i didn't find any option to enable SMTP authentication. Does Team foundation support it  

Answer this question

Can't receive alerts

  • primevest


    Are there any errors/warnings in the Application event log

    To gather more information, could you turn on tracing in the top-level Web.Config file   The trace category of interest is called "General".  Set it to 4 (verbose).  Then after performing the action, we should see some lines about sending the notification, and any problems. 

    A good action for testing is checking in files.  It doesn't take too long and it always generates an email, no matter who made the subscription.


  • awp001

  • Ramesh Kumar.S


    Yes, in Beta3 the Tfs server authenticates to the mail server.

    Here is a way to validate that your SMTP server will accept emails from the service account you are using to run Tfs.  http://blogs.msdn.com/psheill/archive/2005/11/22/495863.aspx


  • Damir Dobric


    I wrote a blog entry with more details on using tracing to see Tfs sending emails, including sample traces.  See
    http://blogs.msdn.com/psheill/archive/2005/11/28/497662.aspx

  • Robert Schneider

    Just curious as to why TFS was not given the option to use basic authentication to connect to a SMTP server directly

    My company's SMTP server uses SSL and I dont see and option to enable that on the virtual SMTP server thus it appears the relay trick may not work for me. Any other options to get build email notifcations working with TFS


  • johnly Sam

    hi,
     I have read your blog and run the code in the blog. There was an exception:"MailBox name not allowed. The server response was:Sender verify failed";

    The email address i used in the code is a valid address and it need username/password to be accessed. How can i set the smtp authentication and password in TFS beta3 refresh By the way, i don't find any option to enable/disable smtp authentication in TFS .

  • Klaim

    I have setup the smtp relay service and your test console application is passed. But I still cannot receive any alert. When i execute the test console application, a temp mail will appear in the relay Queue and then disappear after it is sent out by the relay server, but i never find any temp mail in the queue when the TFS should send a mail.
  • Gemazz


    The authentication support is always on in Tfs, but it is integrated Windows authentication, not basic authentication.  To address your need for username/password authentication, you may set up a SMTP relay server on the Tfs machine that accepts the emails and forwards them to your email server using basic authentication.  The SMTP relay server is a Windows component (Control Panel --> Add/Remove Programs --> Add/Remove Windows Components) that can be configured with a username and password for outgoing mail.  See http://support.microsoft.com/default.aspx scid=kb;en-us;324285#XSLTH3156121122120121120120 for details.




  • Can't receive alerts