In previous versions of Confluence (pre 4.x) when watching a page with mail notification you would get the page content included in the mail.
Not anymore I m sad to say. The documentation, to my knowledge, does not mention this and I rasied an issue with Confluence Support regarding this (CSP-98280).
Has anybody seen this change in behaviour and/or does anybody have a solution to be able to have the old behaviour back?
For the original fucntionality, the following request was brought up with development and subsequently denied.
However, there is a work around where we can alter the veloccity template to bring the fucntionality back to a certain extent. If we expand the <conlfuence install direcotry>/confluence/WEB-INF/lib/confluence-X.X.X.jar file we can then edit the templates/email/html/page-edited-notification.vm file so that the default watch functionality includes the entire page. To do so, change the showdiffs block from this...(may change depending on version)
#if ($showDiffs) <div class="email-diff"> #if ($diffHtml) #parse ("/template/includes/page-diffs.vm") #else <p class="aui-message error"> $i18n.getText('diff.pages.error.diffing') </p> #end </div> #end
To this ...
#if ($showDiffs) <div class="email-diff"> #if ($diffHtml) #parse ("/template/includes/page-diffs.vm") #else <p class="aui-message error"> $i18n.getText('diff.pages.error.diffing') </p> #end </div> #else <div class="email-page"> $viewRenderer.render($content.bodyAsString, $conversionContext) </div> #end
This is of course a customization and would need to be updated when Confluence is upgraded. Once the change is mad, re-make the jar with the altered velocity file and restart Confluence to see the affects. I hope this helps provide a viable option for you.
Newer versions of Confluence should still contain a partial inclusion of the relevant page content in the notification mail. Are you seeing any page content in the mail at all?
If the page is particularly long, the email may prevent the full content of the page from displaying, but you should still see a snippet of the content.
Unfortunately I don t get any content att all except when I request changes in which case I get the actual comparison output.
The only thing I get is a set of links that can take me e.g. to the actual page. This however is not "good enough" since I have to be logged on to our network to get at the server which I am not if I recieve the mail e.g. on a smart phone.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough cough, all companies). If content calendars, marketing plans, and bu...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs