email alert on any changes done on the Work Item User Story
Dear all
I am working TFS 2010
I want to send an email when any workItem of type “User story” to the person who creates the user story when any updates is done on this user story for example:
text added/removed/updated
new child work item is added/removed/updated like tasks or bugs
new attachments added/removed/updated
Version ControlMicrosoft SharePointMicrosoft Development
Detailed Message: TF271001: An error occurred while attempting to send an e-mail notification to the following address: ramzy.nashaat@domain.com. Further e-mail notification errors that occur within the next five minutes might not be logged. Verify that the e-mail notification settings are correct in the Team Foundation Administration Console.
Exception Message: Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender (type SmtpException)
Exception Stack Trace: at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
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.JobService.Extensions.Core.NotificationJobExtension.SendEmail(TeamFoundationRequestContext requestContext, TeamFoundationNotification notification)
RamzyNEbeid
ASKER
i change the windows service "Visual Studio Team Foundation Background Job Agent" from network service account to Domain account
and i am still facing this error.
my current version of TFS is: 10.0.30319.317 (RTM KB2135068)
IandINSW
Have you received any email alerts from TFS whatsoever? Seems like a TFS and your email server integration problem. In the TFS Administration Console. In the email Alert Setting I would assume you have correctly populated the SMTP Server setting and that your email server allows your TFS server to relay email messages?
yes we did this
i am sure of the SMTP
i am sure of the mail, the admin told me that the mail i want to use in the "From Mail" is added in the mail server.
i want to inform you that we are using Exchange Server 2007.
RamzyNEbeid
ASKER
no i didnt recieve any mail at all, i just saw them in the event viewer only
RamzyNEbeid
ASKER
concerning this part: I would assume you have correctly populated the SMTP Server setting and that your email server allows your TFS server to relay email messages?
as they told me that once they add the mail in the exhange server then you can use it to send email without the need of the username and password.
they also told me that by default Relay is disable by default
it is done.
to solve this issue you need to put the domain user that runs the windows service "Visual Studio Team Foundation Background Job Agent" as ADMIN on the TFS server.
thanks
RamzyNEbeid
ASKER
everything was right from the Beginning only setting the user that runs the windows service as admin on the machine
TF53010: The following error has occurred in a Team Foundation component or extension:
Date (UTC): 3/5/2011 8:37:31 PM
Machine: TFS
Application Domain: TfsJobAgent.exe
Assembly: Microsoft.TeamFoundation.F
Service Host:
Process Details:
Process Name: TFSJobAgent
Process Id: 4116
Thread Id: 3656
Account name: NT AUTHORITY\NETWORK SERVICE
Detailed Message: TF271001: An error occurred while attempting to send an e-mail notification to the following address: ramzy.nashaat@domain.com. Further e-mail notification errors that occur within the next five minutes might not be logged. Verify that the e-mail notification settings are correct in the Team Foundation Administration Console.
Exception Message: Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender (type SmtpException)
Exception Stack Trace: at System.Net.Mail.MailComman
at System.Net.Mail.SmtpTransp
at System.Net.Mail.SmtpClient
at Microsoft.TeamFoundation.J