我遇到TFS和電子郵件通知問題。 我無法從TFS服務器接收任何用於工作項目跟蹤的電子郵件。 我正確地在TFS服務器的... \ Web Services \ Services中配置了web.config,我正在使用電動工具進行警報。 但是,當我設置一個警報通知我一個項目,任何事件還沒有發生。 我已在TFS服務器中檢查過事件查看器,但沒有任何有關我的警報(電子郵件)的信息,錯誤或警告。如果我在web.config中改變emailNotificationFromAddress
後,團隊基礎核心Web服務應用程序重新啓動警告,會包括這條消息:TFS和電動工具中的警報郵件
"TF53010: The following error has occurred in a Team Foundation component or extension:
Date (UTC): 11/18/2009 1:38:59 PM
Machine: TFS
Application Domain: /LM/W3SVC/1520656728/Root/Services-6-129030251360070129
Assembly: Microsoft.TeamFoundation.Server, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Details:
Process Name: w3wp
Process Id: 5676
Thread Id: 3292
Account name: RPK\TFSService
Detailed Message: TF50282: Could not connect to the following e-mail server: mail.rpk.ir
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."
,並在此之後,它沒有發生任何警告任何情況下!
您是否嘗試從不同域中的帳戶發送郵件?許多SMTP服務器會阻止這一點。 – 2009-11-19 19:09:44
我想是的,但我不知道不同的領域?這是什麼意思? 我使用交換服務器作爲郵件服務器。你可以解釋更多嗎? – AFatehi 2009-11-21 11:44:17