Ask a questionAsk a question
 

General DiscussionSend emails when build events fired

  • Wednesday, July 16, 2008 7:04 AMAlaa Yacoub Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I try To use Project alerts to send emails every build to inform other about build details server doest not send any email although the related Event is fired  i set the sender and smtp configurations correctly in web.config also i sent emails correctly using small .net application .

     

    anyone have suggestions ?

     

    thanks in advance 

All Replies

  • Wednesday, July 16, 2008 9:48 PMLuis FraileMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Have you checked event viewer on the server to see if there is any error related to TFS events?

  • Friday, July 18, 2008 3:57 PMPatrick CarnahanMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Any follow up on this?

     

    Patrick
  • Wednesday, July 23, 2008 5:34 AMBill.WangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    We are changing the issue type to “Comment” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question”.

  • Wednesday, July 23, 2008 2:09 PMAlaa Yacoub Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    Hi Guys,

     

    sorry For Late Follow up , because i was busy  

     

    I Checked Event Viewer and the following error is exist 

     

    TF53010: The following error has occurred in a Team Foundation component or extension:
    Date (UTC): 20/07/1429 01:45:38 ?
    Machine: VM32BIT04
    Application Domain: /LM/W3SVC/1599685449/Root/Services-2-128612943192137554
    Assembly: Microsoft.TeamFoundation.Server, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
    Process Details:
      Process Name: w3wp
      Process Id: 5812
      Thread Id: 2392
      Account name: HASIBDOMAIN\ms2008

    Detailed Message: TF50282: Could not connect to the following e-mail server: hasibex
        Error message: System.Net.Mail.SmtpException: Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender
       at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
       at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from)
       at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
       at System.Net.Mail.SmtpClient.Send(MailMessage message)
       at Microsoft.TeamFoundation.Server.WebServiceNotification.SendOneEmail(Boolean plaintext, String to)

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

     

    ---------------------------------

     

    many thanks

     

     

    alaa yacoub

     

     

     

     

  • Wednesday, July 23, 2008 2:14 PMLuis FraileMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    It seems like a problem with your Smtp server due to security restrictions, I would check with your system administrator to be able to relay emails with the user account you configured during the installation of TFS, but I'm not IT pro ...

  • Wednesday, July 23, 2008 3:06 PMAlaa Yacoub Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    Hi

        please keep in mind that Account System (throught installation )  is ms2008

        but the configuration in services/web.config for Smtp server  is

     

     

    <add key="emailNotificationFromAddress" value="alaa.yaqoub@hasib.com.sa" />
    <add key="smtpServer" value="hasibex" />

     

    i Did not use Ms2008 in configuration  

     

     

     

    many thanks

  • Wednesday, July 23, 2008 3:08 PMAlaa Yacoub Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    Hi

        please keep in mind that Account System (throught installation )  is ms2008

        but the configuration in services/web.config for Smtp server  is

     

     

    <add key="emailNotificationFromAddress" value="alaa.yaqoub@hasib.com.sa" />
    <add key="smtpServer" value="hasibex" />

     

    i Did not use Ms2008 in configuration ,  alaa.yaqoub@hasib.com.sa is work fine

     

     

     

    many thanks

  • Tuesday, July 29, 2008 10:41 AMAlaa Yacoub Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

     Hi Guys

     

    Finally i Found The Solution

     

    when i back to Administrator we found that my Pc does not have the permission to use Smtp server to send mail

    to solve this we did the following :

     

    1- open IIS

    2- go to Default Smtp 

    3- right click   select peoperties

    4 select Access Tab

    5 -  Click on Connection Buttion and Add your Pc (which contain TFS server)

    6- Click on Relay Button and grant permisstion for Pc

     

     

    thanks for every one give asuggetion 

  • Sunday, November 01, 2009 11:14 AMAnwar Saqqar Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    when i back to Administrator we found that my Pc does not have the permission to use Smtp server to send mail

    to solve this we did the following :

     1- open IIS

    2- go to Default Smtp 

    3- right click   select peoperties

    4 select Access Tab

    5 -  Click on Connection Buttion and Add your Pc (which contain TFS server)

    6- Click on Relay Button and grant permisstion for Pc

    Thanks to all