SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The following picture is an e-mail sent by SharePoint announcement, I didn't set this up, but I am trying to remove the "E-mail Headers" section from being sent in the e-mail.

enter image description here

Looking online it seems that SharePoint uses alerttemplates.xml file to send these e-mails but the file is really big and somewhat confusing. So I am looking for a easier way to control remove it from the e-mail. Using SharePoint Designer, it seems that I found it, but I am not sure where to change the setting so its not included. enter image description here

Any help about this subject is greatly appreciated.

share|improve this question
Have you tried unchecking the "Add to Default View" at the top of the ribbon and saving it? – Mike Dec 3 '12 at 18:44
Yes, but that didn't work. – MicroSumol Dec 4 '12 at 22:32
up vote 10 down vote accepted

(1) Create a copy of the “alerttemplates.xml” file in the {14}\TEMPLATE\XML folder and name it say customalerttemplates.xml.

(2) Open the customalerttemplates.xml file in notepad or Visual Studio and find the SharePoint library of your choice i.e. DiscussionBoard in our case.

(3) Keep scrolling through the alert template definition for this library until you find an element named: <Properties> This element originally has the following text:

enter image description here

(4) Modify this element to add the fields that you would like the email alert to exclude and remove the fields that you would want the email alert to include. e.g. below is the representation of the element where we exclude the “E-Mail Headers” field and include the “ID” field in the email alert text:

enter image description here

(5) Save the modified customalerttemplates.xml file.

(6) Now we need to update our new alert templates' file to the SharePoint Database, so as to replace the default alerttemplates.xml file. We will use the below STSADM command to perform this activity:

{14}\BIN>stsadm -o updatealerttemplates -url "http://servername:18000" -filename "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML\customalerttemplates.xml"

(7) Perform IISRESET.

The above steps will modify the alert template for your specific choice of library (viz. Discussion Board). Now if you trigger an email from SharePoint to be sent to the subscribed users, you will notice that the E-mail Headers field has been removed and the ID field has been added to the text of the email.

Reference: SharePoint 2010: How to remove "Email Headers" information from alert emails

share|improve this answer
The referenced article is very good. Easiest way to work on the alerttemplates.xml file is to use something that can collapse the xml trees for you so you do not get distracted by the queries and format sections. Please note that changes made in that file will apply to all alerts sent by the farm (well web service really, but easier to think of it as a farm cause hardly anyone I know runs more than 1 web service in their farm) – ghangas Dec 12 '12 at 23:38
This was really helpful to fix the problem. Thanks – MicroSumol Dec 13 '12 at 4:00
@MicroSumol You're welcome! – Benny Skogberg Dec 13 '12 at 8:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.