Where and what exactly should I be looking at editing to change the subject. body and other text of the default email that is sent by sharepoint notifying the user that he or she has been granted permission to a site/list/document etc.....
|show 3 more comments|
I am working on the same topic. Is not possible to change the email body for e.g. "Welcome to the group email":
"Welcome to the 'BLABLA' SharePoint group. BLABLA has added you to the 'BLABLA' group for this SharePoint site. As a member of this SharePoint group, you can: * Participate in the SharePoint site at: ................. * View the group home page at:......................................
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx What is a SharePoint site?
A SharePoint site is a Web site that provides a central storage and collaboration space for documents, information, and ideas. A SharePoint site is a tool for collaboration, just like a telephone is a tool for communication, or a meeting is a tool for decision making. A SharePoint site helps groups of people (whether work teams or social groups) share information and work together. For example, a SharePoint site can help you:
The bottom of the email can be changed can be changed from C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Resources\core.en-US.rex
The start of the email can be changed from C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\wss.en-US.rex
The rest I couldn't find it in neither database or resources.
Please post if you have a solution (even custom code)
This technically is possible, however you would be editing the resource files installed by SharePoint. Doing this is NOT supported by Microsoft, could break things, and could get overwritten during future updates.
If you are feeling adventurous in a test environment, however, the location of the resource files is here: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Resources.
The resource files are XML, so you can edit them in a text editor.
Again, I strongly advise against this, however if you want to play around with it in a test environment, that is where you would looke.
So, here is the solution which customizes the Email text (Subject and the Message) sent to users on granting permssions to various sites. Normally, it is not possible without modifying SharePoint OOTB files. But my solution works without having to modify any OOTB box SharePoint files.
How it works:
I have published the source code to CodePlex: http://customemailtemplate.codeplex.com/
Note: At the moment, I have only developed this solution as proof of concept to show we can change Custom email template. A further extension could be to dynamically fetch Email Subject and Email Body's text from the property bags, using jQuery.
Hope it will help many awesome SharePointers out there ;)