Customize notification e-mail templatesPage edited by Denis SignorettoChanges (2)
Full ContentCustomize notification e-mail templatesIn Syncope you can customize and create your own template messages to personalize the body of notification messages. This can be achived creating or modifing the email template files. Each e-mail template it's made of a couple of files:one for HTML version and one for the text version of the email message body. Default template direcotry is located at "/WEB-INF/classes/mailTemplates" of Syncope core web application. It contains the "optin" default notification template files:
These files are Velocity template files. Syncope use Velocity (http://velocity.apache.org) as template engine to reference and process objects injected by Syncope. If you want to create your own email template, e.g. "custom-notification", you just need to create a couple of files named "custom-notification.html.vm" and "custom-notification.txt.vm" Within these files you can use Velocity expressions and reference the following Syncope
Refer to default template files to find out how refer to objects and write simple velocity expressions to customize your message body.
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|
- [CONF] Apache Syncope > Customize notification e-mail templa... confluence
- [CONF] Apache Syncope > Customize notification e-mail t... confluence
