Change subject in TFS 2015 email alerts - email

I'm trying to change the subject of email alerts generated by TFS 2015. So far, I figured out, where to find the template of the email body at
c:\Program Files\Microsoft Team Foundation Server 14.0\Application Tier\TFSJobAgent\Transforms\1033\BuildCompletedEvent.xsl
However, I still got no clue, where the subject of the email is set. Can anyone provide a hint?
Thanks in advance

We can only customize the format for TFS email alerts by default. The event service uses the .xsl and the plaintextXsl files to transform the XML data for an event into an e-mail message. Edit the .xsl file to get a different format for the email notification.
The content of the emails that are issued is automatically generated from the TeamFoundation.xsl file and BuildCompletedEvent.xsl. Modifying the TeamFoundation.xsl file is not recommended. You need to subscribe to the Event Service and create your own e-mails as DaveShaw mentions.

It is not allowed to modify email subject via modifying the email template in TFS2015.
You have to subscribe to TFS events via API, this method gives the option to set email subject you want. Check this blog for further information: http://geekswithblogs.net/BobHardister/archive/2013/07/24/tfs-2012-api-create-alert-subscriptions.aspx (The blog is written for TFS2012, applies to TFS2015 as well)  

Related

set Custom field in rt software(Ticketing System) with email from Sharepoint

I want set Custom Field in request Tracker system with email from Sharepoint. I use Sharepoint Designer for sending email. but I Cant. write this in first line of email:
cf.{QM-Category of work}:Permission
other User with sending email can set cf.
Can anybody help me?
Tnx
Use this version of RT : RT 4.2.8 Copyright 1996-2014 Best Practical Solutions
I suppose you are using Command by mail extension to do that. Note that the commands are executed only when user sending the mail has the proper authorization. So give your Sharepoint user, represented by email address, the appropriate rights for the target queue.

Take data from an email and upload it to Microsoft Sharepoint 2010

I have an email that arrives every day at 5:00 PM which reports the amount of inventory in stock everyday. Is there a way I could upload the data from this email into Microsoft Sharepoint 2010 ? I searched Google and StackOverflow but didn't find a solution to this.
Thank you in advance. A high level solution or a detail solution on how to do this would be extremely helpful.
SharePoint has the ability to receive messages and documents via e-mail through functionality called Mail Enabled Libraries.
First, you have to configure incoming email, which is a bit of work. Once SharePoint is configured to receive email, you have to configure a list to receive email.
References:
http://davecoleman146.com/2010/10/20/how-to-setup-mail-enabled-document-libraries-in-sharepoint-2010-part-1/
http://technet.microsoft.com/en-us/library/cc287879(v=office.14).aspx
EDIT
The manual process to upload a document would have the following steps:
Check email
If the email is there, save email to local file
Upload file to SharePoint
If you want to automate this process, I recommend PowerShell as its powerful yet easy to use.
Learning PowerShell: http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx
Checking Email with PowerShell: How to check an exchange mailbox via powershell?
Saving an Email with PowerShell: http://social.technet.microsoft.com/Forums/scriptcenter/en-US/335a888b-bf85-4a36-a555-71cc84608960/download-email-content-text-from-exchange-ews-with-powershell?forum=ITCG
Uploading a file to SharePoint With PowerShell: http://social.technet.microsoft.com/wiki/contents/articles/19529.sharepoint-2010-upload-file-in-document-library-using-powershell.aspx

Powershell - Exchange 2013 filing script

I have been looking through the http://gallery.technet.microsoft.com/exchange/ website to no avail and was wondering if someone could help me please.
I would like to create a script that runs for every single email that is sent through exchange 2013. This script looks for an id email attribute that the email is assigned by my other script and if it has an id attribute the email will be moved to a shared mailbox on the exchange and put into a folder with the same id or create a new one if one doesn't exist.
Any help would be much appreciated! Thanks in advance.
Dint understand the query fully.
Looks like u want to write some code that will be executed for all the emails flowing through exchange.
Then Transport Agents are the way to go.
Here's the link which gives the documentaion regarding tranpsort agents in Exchange 2013.
http://msdn.microsoft.com/en-us/library/exchange/bb204097(v=exchg.150).aspx
You want to look for an "attribute" in the email and redirect emails based on that.
May be u can look for a message header in an email via transport agent and based on that perform redirection in the agent(removing all the recipients and adding 'redirectmailbox' as the only recipient).
You can also add custom headers to an email via transport agents.
http://blogs.msdn.com/b/mstehle/archive/2009/01/13/howto-sample-transport-agent-add-headers-categories-mapi-props-even-uses-a-fork.aspx
Transport Agents act on all the emails flowing through the orgnanisation.
Use them with caution.

Dynamics CRM 2011 - attach file to email before send

I have a pretty standard workflow in my Dynamics CRM 2011, which sends email when new entity is created. Now, before email is sent, I'd like to attach some attachments by plugin.
Is it possible to capture some before-send event on email activity, so I could create plugin that before email is sent, do some check on created message, attach files and send it?
Edit:
Files fetched by web service from another system, they are not attachements of other entities in CRM.
CRM will create the email and then send it, as two separate actions. So you should be able to add code to a post-create plugin on the email entity which adds the attachment. Presumably your workflow will add some flag to the email so your plugin knows which attachment to add to which email.
There are two messages on Email entity: Send and SendFromTemplate. You should be able to create PreSend or PreSendFromTemplate plugins and attach files.

ClearQuest Custom Email

I'm trying to create a custom email for ClearQuest in order to:
format the message more neatly
include a hyperlink to a change request (which is based on the Defect schema) on our local intranet
The only way I know of to send an email is to add an email rule using a static form submission via a Email_Rule Stateless Record Type (which comes with the Defect schema). The only customization it allows is to select the fields to include in the email, the criteria specifying when to send the email (e.g. when the state changes), and who to send it to.
I'm assuming a script is run (either in VB or Perl) in order to aggregate the information needed for the email and perhaps another to actually send the email. I'm looking for one or both of those scripts. Does anyone know where those scripts are located on a ClearQuest server?
I've come across various references from IBM that pertain to custom emails, but none were very helpful.
http://www.ibm.com/developerworks/rational/library/4329.html (from 2003 and ClearQuest v1.1)
http://www.ibm.com/developerworks/rational/library/3931.html (from 2002, no version specified)
We're using ClearQuest v7.1.2. Does anyone know of any good references dealing with ClearQuest custom emails?
We are using Clear Quest Email Notification Package, that allows much more flexible email notifications.
Link
The package is compatible with ClearQuest 7.1.2.
You can download new version from the following location:
http://cqadmin.org/wiki/ClearQuest_Email_Notification_Package
Newer versions of ClearQuest have a new Email notification package that does what you want and is also robust to network failures and supports different email services and a high level of security. That is, the email is saved as a record and a service runs that ensures emails get sent.
The name of the package is EmailPlus and it also uses a WebApp, EmailRelay, which performs the email notification duties.
More details found here.
https://www.ibm.com/support/knowledgecenter/SSSH5A_8.0.0/com.ibm.rational.clearquest.schema.ec.doc/topics/sch_pkgs/c_emp_package.htm