out-of-office-warning template
Email sent to the user when an “Out of Office” string has been detected and to warn them that their personal preferences have been changed to “On vacation”. When the limit has been reached, the user is then sent an out-of-office-change.
Configuration
The behavior of this email can be configured through the outOfOfficeLimit
and outOfOfficeString
properties in the Global Properties.
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: Out Of Office detected |
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:
<notification template="out-of-office-warning" 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: