auto-responder template
Sometimes poorly configured email software leads AutoResponders like vacation to loop. This happens when out-of-office messages get relayed to member accounts that spawn more out-of-office messages. To avoid this traffic, there is a configurable limit for the number of comments a user can post to a given location over a configurable period of time. Once that limit has been reached, PageSeeder stops relaying the user’s messages and generates a Notification to them.
Configuration
The auto responder limit and waiting time can be configured with the autoResponderMinutes
and autoResponderLimit
Global Properties.
Email headers
This message sets the following headers by default:
Name | Value |
---|---|
Auto-Submitted | auto-generated |
From | PageSeeder (DO NOT REPLY) <pageseeder@emaildomain> |
Subject | WARNING: Comment limit reached |
To | Email address of original 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:
<notification template="auto-responder" emaildomain="example.org" hosturl="https://example.org"> <!-- Auto responder settings --> <autoresponder limit="25" minutes="90" replylimit="10" warnings="5" /> <!-- The comment that triggered the auto responder notification --> <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> <!-- Context may contain group or uri --> <context> <group id="3" name="acme-test"/> </context> </comment> </notification>
Usual content
Following is a screenshot of the HTML email: