---
title: "out-of-office-change"
source: https://dev.pageseeder.com/guide/configuration/emails/templates/out-of-office-change.html
last_updated: 2026-08-07T17:09:54+10:00
tokens: ~602
---

# out-of-office-change template

Email sent to the user after the limit of “*Out of Office*” reply messages was reached, to notify him that his personal details have been changed to “*On vacation*”. This email is sent after the [out-of-office-warning](out-of-office-warning.md).

## Configuration

The behavior of this email can be configured through the `outOfOfficeLimit` and `outOfOfficeString` properties in the [Global Properties](../../properties/global_properties.md).

## Email headers

This message sets the following headers by default:

| Name | Value |
| --- | --- |
| `Auto-Submitted` | `auto-replied` |
| `From` | `PageSeeder (DO NOT REPLY) <pageseeder@emaildomain>` |
| `Subject` | `WARNING: Your notification options have been set to 'On Vacation'` |
| `To` | Email address of user |

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="out-of-office-change"
              description="Out of Office Change"
              emaildomain="example.org"
              hosturl="https://example.org"
              unsubscribetoken="sample-token">

  <!-- Out of office settings -->
  <outofoffice string="out of the office"
               limit="2" />

  <!-- The comment that triggered the out of office notification -->
  <comment id="123"
           contentrole="Comment"
           created="2012-03-08T12:34:00+10:00">
    <title>Currently out of the office</title>
    <author id="12"
            firstname="John"
            surname="Jones"
            email="jjones@email.com"
            username="jjones">
      <fullname>John Jones</fullname>
    </author>
    <content 
       type="text/plain">I am currently on leave and will
                         be back on Monday 30 December 2018.
                         I will not have access to my e-mails.
    </content>
    <context>
      <group id="3"
             name="acme-test"
             description="The ACME testing group" />
    </context>
  </comment>
  <group id="3"
         name="acme-test"
         description="The ACME testing group" />
</notification>
```

## Usual content

Following is a screenshot of the HTML email:

![out-of-office-change\_v60000.png](/content/guide/configuration/emails/templates/../../../../images/email/out-of-office-change_v60000.webp)

