JBoss.orgCommunity Documentation

Email-notification configuration for watching a document

eXo Platform 3.5 provides the Watch document function in Sites Explorer that allows you to receive email notifications of changes on your selected documents.

To customize the email notification, simply change the configuration in the configuration.properties file. This file is defined at:

The relevant section looks like:



Email content for WatchDocumentService
gatein.ecms.watchdocument.sender=support@exoplatform.com
gatein.ecms.watchdocument.subject=Your watching document is changed
gatein.ecms.watchdocument.mimetype=text/html
gatein.ecms.watchdocument.content=<![CDATA[Dear $user_name,<br><br>The document $doc_name ($doc_title) has changed.<br>
<br>Please go to <a href="$doc_url">$doc_title</a> to see this change.<br><br>]]>

Details:

Property Default value Description
gatein.ecms.watchdocument.sender support@exoplatform.com The email address of the sender.
gatein.ecms.watchdocument.subject Your watching document is changedThe subject of the notification email.
gatein.ecms.watchdocument.mimetype text/html The mimeType which is used to write the notification email. There are two types: text/html and text/plain.
gatein.ecms.watchdocument.content <![CDATA[Dear $user_name,<br><br>The document $doc_name ($doc_title) has changed.<br><br>Please go to <a href="$doc_url">$doc_title</a> to see this change.<br><br>]]>The content of the notification email.

At present, eXo Platform provides 4 parameters below in the gatein.ecms.watchdocument.content property of the email:

Note

If the values above are not set in the configuration.properties file, the server will use the default values defined in an .xml file.