new-comment template
The email is sent whenever a new comment is posted on PageSeeder.
Email headers
This message sets the following headers by default:
| Name | Value |
|---|---|
Auto-Submitted | auto-generated |
Bcc | Group members depending on their notification settings |
From | The author or modifier of the comment, see From address |
Sender | pageseeder@emaildomain |
Reply-To | uriid-locator@emaildomainor xlinkid -reply@emaildomain |
Subject | [group name] comment title |
Message-ID | <xlinkid.comment@emaildomain> |
Precedence | List |
List-Unsubscribe | <serverurl/ps/page/groupname/preferences/mygroups> |
List-Id | group description <groupname.serverhost> |
List-Help | <serverurl/ps/page/groupname/home> |
List-Post | <serverurl/ps/page/groupname/comment/new> |
List-Archive | <serverurl/ps/page/groupname/comments> |
XML
PageSeeder produces the following XML for the XSLT template:
<notification template="new-comment"
announcement="false"
taskchanged="false"
modified="false"
emaildomain="example.org"
hosturl="https://example.org"
unsubscribetoken="sample-token">
<!-- The new comment -->
<comment id="123"
discussionid="123"
contentrole="Comment"
created="2012-03-08T12:34:00+10:00">
<title>Cavern stolen!</title>
<author id="12"
firstname="John"
surname="Jones"
email="jjones@email.com"
username="jjones">
<fullname>John Jones</fullname>
</author>
<content type="text/plain">Sesame opened the door</content>
<context>
<group id="3" name="acme-test" />
</context>
</comment>
<group id="3"
name="acme-test"
description="The ACME testing group" />
</notification>
Usual content
Following is a screenshot of the HTML email:
