---
title: "reject-comment"
source: https://dev.pageseeder.com/guide/configuration/emails/templates/reject-comment.html
description: "Email template for notifying users when their PageSeeder comment has been rejected due to invalid email address or insufficient group permissions. Includes XML structure and email headers."
last_updated: 2026-08-11T16:00:20+10:00
tokens: ~436
---

# reject-comment template

This email is sent in response to a message posted to PageSeeder that has been rejected. A message is generally rejected because the email address did not match the address of a registered user on PageSeeder or that user does not belong to the PageSeeder group the message was posted to.

## Email headers

This message sets the following headers by default:

| Name | Value |
| --- | --- |
| `Auto-Submitted` | `auto-replied` |
| `From` | `PageSeeder (DO NOT REPLY) <pageseeder@emaildomain>` |
| `Subject` | `RETURNED:` *\[original subject*\] |
| `To` | Email address of author |

PageSeeder also adds the following non-standard email header:

`com.pageseeder.mail.Bounce` set to `true`.

## XML

PageSeeder produces the following XML for the XSLT template:

```xml
<notification template="reject-comment"
              emaildomain="example.org"
              hosturl="https://example.org">

  <!-- The rejected comment -->
  <comment id="123"
           contentrole="Comment"
           created="2012-03-08T12:34:00+10:00"
           status="Open">
    <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>
    <content type="application/xhtml+xml">
        <p>Sesame opened the <b>door</b></p>
    </content>
    <context>
      <group id="3"
             name="acme-test"></group>
    </context>
  </comment>

</notification>
```

## Usual content

Following is a screenshot of the HTML email:

![reject-comment\_v60000.png](/content/images/email/reject-comment_v60000.webp)

