TFS 2010 Wont Send Email
I can't get TFS 2010 to send email alerts. I've tried setting up everything mentioned here:
http://social.technet.microsoft.com/wiki/contents/articles/how-to-configure-tfs-notifications-in-team-foundation-server-2010.aspx
It's configured to send to a local IIS SMTP instance. SharePoint 2010 is on the same box and is also configured to use the same local SMTP server and it works fine sending emails, no problem. It's also using the same "from" email address as TFS is configured to without issue.
TFS isn't even trying to se开发者_如何学编程nd anything as far as I can tell - I don't see anything from it in the SMTP log (C:\Windows\System32\LogFiles\SMTPSVC1...).
I have the default "My Work Items changed" alert set up and enabled. I try logging in as another user, assigning a work item to me, then assigning it back...nothing happens...no email. I don't see any error in the event viewer from TFS.
What can I do to troubleshoot this?
I had added alerts in Alert Explorer without specifying any Team Project. Once I added the Team Project filter it started working.
Try other method,
I configure the Email using Gmail Account and it is working very well, try it! if you would like? see this link for steps how you can do it?
http://mohamedradwan.wordpress.com/2011/06/26/configure-tfs-2010-alert-using-local-smtp-that-use-gmail-account/
Thanks
M.Radwan
Try this out http://ravendra.wordpress.com/configuring-email-alert-settings-in-tfs-2010/
Or else you can go with the option of relay mail. Create a local SMTP server and relay it with the main mail server.
Note : If you mail server requires advanced authentication then you need to follow the second option only.
I actually wanted to add this answer to give ppl an idea of what to look for when they come across 'why doesn't the email get sent out'. The reason i came across this thread was for the same reason, it seemed that tfs wasn't sending out the email. But it was! the problem turned out to be the 'group' that I was sending the email to wasn't permitted to receive email. here is the situation, TFS server located at a DATA CENTER. The email ALERTS that i configured were to a group in our local office DOMAIN.
Apparently,in Active Directory that group didn't have the "All users need to be authenticated" checked OFF. Meaning, the TFS server 'sender of the email' wasn't authenticated to send emails to that group. once i sat with my MIS guys, they finally noticed that was checked on, and once DISABLED. Problem fixed! Hope that helps someone.
精彩评论