cancel
Showing results for 
Search instead for 
Did you mean: 

Notify Me of Comments Via Email

johnd
Champ in-the-making
Champ in-the-making
Hi,

I would like to receive a mail every time a user leave a comment on my documents. Could you help me to find a way to do this ??

Thanks.
2 REPLIES 2

mamunoz
Champ in-the-making
Champ in-the-making
I would very much like the same functionality.

efestione
Champ in-the-making
Champ in-the-making
Hi all,
I have obtained this using a rule and a ftl template.

First, you must create a new mail template in "company home/data dictionary/mail template/notify mail template":


<#assign displayPaths=document.displayPath?split("/")>
<#assign site=displayPaths[3]>
<#assign contenuto=document.content>
<#if document.properties.title == "">
There is new comment for the file: "${document.parent.parent.parent.name}"

${contenuto?replace("</?[^>]+(>|$)", "", "r")?replace("&igrave;","ì")?replace(" "," ")?replace("&egrave;"," è")?replace("&agrave;","à")?replace("&ograve;","ò")?replace("&ugrave;","ù")?replace("&rsquo;","'")?replace("&middot;","*")}

${person.properties.firstName}<#if person.properties.lastName?exists> ${person.properties.lastName}</#if>

Do not reply to this mail, please leave your comment at the link:
http://26.2.180.46:8080/share/page/site/${site}/document-details?nodeRef=workspace://SpacesStore/${d..."]}

<#else>
– ${document.properties.title} –

${contenuto?replace("</?[^>]+(>|$)", "", "r")?replace("&igrave;","ì")?replace(" "," ")?replace("&egrave;"," è")?replace("&agrave;","à")?replace("&ograve;","ò")?replace("&ugrave;","ù")?replace("&rsquo;","'")?replace("&middot;","*")}

${person.properties.firstName}<#if person.properties.lastName?exists> ${person.properties.lastName}</#if>


Do not reply to this mail, please leave your comment at the link:
http://26.2.180.46:8080/share/page/site/${site}/blog-postview?postId=${document.name}&listViewLinkBa...

</#if>

Second, you must create a rule "send email" in your site-document library space using the template you have just created.
Let me know if you need more detail.

Regards
alex