Merge lp:~hartmut-php/eventum/rfc3834 into lp:eventum

Proposed by Hartmut Holzgraefe
Status: Merged
Merged at revision: 4122
Proposed branch: lp:~hartmut-php/eventum/rfc3834
Merge into: lp:eventum
Diff against target: 15 lines (+4/-1)
1 file modified
lib/eventum/class.mail_queue.php (+4/-1)
To merge this branch: bzr merge lp:~hartmut-php/eventum/rfc3834
Reviewer Review Type Date Requested Status
Eventum Development Team Pending
Review via email: mp+30076@code.launchpad.net

Description of the change

Added "Auto-submitted: auto-generated" header to outgoing emails in addition to "Precedence: bulk" for RFC 3834 conformance. These headers are both meant to suppress replies from automatic absence reply tools.

To post a comment you must log in.
lp:~hartmut-php/eventum/rfc3834 updated
4122. By Hartmut Holzgraefe

Added "Auto-submitted: auto-generated" header to outgoing emails
in addition to "Precedence: bulk" for RFC 3834 conformance.
These headers are both meant to suppress replies from automatic
absence reply tools.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/eventum/class.mail_queue.php'
2--- lib/eventum/class.mail_queue.php 2010-01-21 15:34:01 +0000
3+++ lib/eventum/class.mail_queue.php 2010-07-16 10:05:57 +0000
4@@ -69,7 +69,10 @@
5 (@in_array(Mail_Helper::getEmailAddress($to), $reminder_addresses))) {
6 $headers += Mail_Helper::getSpecializedHeaders($issue_id, $type, $headers, $sender_usr_id);
7 }
8- $headers['precedence'] = 'bulk';
9+
10+ // try to prevent triggering absence auto responders
11+ $headers['precedence'] = 'bulk'; // the 'classic' way, works with e.g. the unix 'vacation' tool
12+ $headers['Auto-submitted: auto-generated']; // the RFC 3834 way
13
14
15 if (empty($issue_id)) {

Subscribers

People subscribed via source and target branches