add Auto-Submitted: auto-generated mail header (RFC #3834, sect 5)
authorChristian Weiske <cweiske@cweiske.de>
Wed, 5 Mar 2014 19:57:18 +0000 (20:57 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 5 Mar 2014 19:57:18 +0000 (20:57 +0100)
src/bdrem/Renderer/Mail.php

index f80745b..8e0e625 100644 (file)
@@ -23,6 +23,7 @@ class Renderer_Mail extends Renderer
 
         $hdrs = array(
             'From'    => $this->config->get('mail_from', 'birthday@example.org'),
 
         $hdrs = array(
             'From'    => $this->config->get('mail_from', 'birthday@example.org'),
+            'Auto-Submitted' => 'auto-generated'
         );
         $mime = new \Mail_mime(
             array(
         );
         $mime = new \Mail_mime(
             array(