我可以发送有关新评论的通知,但我想将评论作为电子邮件的一部分发送。这是我到目前为止得到的:
<notification>
<name>Notification</name>
<description>Notifies about new blog or page comments</description>
<template>
<![CDATA[
<p>
There's a new comment at page ${page_url} by ${user_name} :
<#if comment != "" >
<br /><strong>${comment}</strong>
</#if>
</p>
<p>With Love,<br /><strong>Liferay</strong></p>
]]>
</template>
<template-language>freemarker</template-language>
<notification-type>email</notification-type>
<recipients>
<role>
<role-type>regular</role-type>
<name>Portal Content Reviewer</name>
<auto-create>false</auto-create>
</role>
</recipients>
<execution-type>onEntry</execution-type>
</notification>
我将如何分配 ${page_url}、${user_name} 和 ${comment}?