我遇到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