0

TFS alert explorer is hard coded the email addressees is there is a say from where we cannot hardcode the email address? and it directly send the email. problem with following scenario.

if team project is "test-Project" work item type is "bug" and assign to is "any person" then it will send the email to "any person" automatically.

means whatever the assign to is . it will have to send the mail to that person which is assigned.

problem is the manually typing the email address in alert explorer.

there is a way to automatically send the email which is

sorry for my bad English . sorry if i cannot defined my problem as my English is to week.

Betty
  • 9,109
  • 2
  • 34
  • 48
Syed Ali
  • 279
  • 1
  • 4
  • 15
  • possible duplicate of [TFS 2010 Email Alerts](http://stackoverflow.com/questions/6886834/tfs-2010-email-alerts) – Betty Nov 16 '12 at 21:08

1 Answers1

0

In Tfs 2010 you need to use a server plugin to achieve this, you can write you own or use one of the many freely available ones already out there.

Team Alerts

Tfs Global Alerts

In Tfs 2012 you can use group alerts which are one of the new features.

Community
  • 1
  • 1
Betty
  • 9,109
  • 2
  • 34
  • 48
  • i have checked the both , but tfs global alerts does not meet my requirements , plus team alert is not working . i dont know what is the problem but team alert is not working . other wise team alert is very awsom. and it v usefull. i want that , but it is not working. any other solution?? – Syed Ali Nov 19 '12 at 05:40
  • Can you define "not working" a bit better? maybe we can help set it up correctly. – Betty Nov 19 '12 at 06:05
  • yes betty, when im putting the dll, and config file as codeplex says.but it does not do any action – Syed Ali Nov 19 '12 at 06:18
  • sorrry my english....... but i read the whole artical of team alert.after putting config file and dll in application tier...>plugins.the tfs is not restarting . as artical said tfs will restart after putting the files. and even not a single change is happen.i have tested the correct config file as in codeplex issue traker field.there are lot of people sharing their problem. – Syed Ali Nov 19 '12 at 06:18
  • @betty.......as now i wrote a plugin. which send only the notification when something is assign to person. the person will recieve a mail that he is assigned to this work item...... now what im trying to do is , i want a simple guide from which i can write a code of change fields in any work item. i want a email as same as the alert explorer is sending. so how could i send the same email as alert explorer is sending. – Syed Ali Nov 19 '12 at 06:25
  • TFS builds its emails using xml templates, Team Alert uses the same templates. Check how it does it http://teamalert.codeplex.com/SourceControl/changeset/view/79962#1423121 – Betty Nov 19 '12 at 07:06
  • bro i found that, it is using SmtpClient for sending mail msg.but also it have some eventDocuments.how can i use this in my server plugin? – Syed Ali Nov 19 '12 at 08:22