From 7bfadb90b398ba8fd20bbc9a65c8dcd012cf892a Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Wed, 27 Jan 2010 13:33:34 +0000 Subject: [PATCH] Add RFC auto-submitted header (http://www.iana.org/assignments/auto-submitted-keywords/auto-submitted-keywords.xhtml) (http://board.s9y.org/posting.php?mode=quote&f=3&p=93402) --- include/functions.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/functions.inc.php b/include/functions.inc.php index f8a890b3..c841c6d4 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -528,6 +528,7 @@ function serendipity_sendMail($to, $subject, $message, $fromMail, $headers = NUL $maildata['headers'][] = 'MIME-Version: 1.0'; $maildata['headers'][] = 'Precedence: bulk'; $maildata['headers'][] = 'Content-Type: text/plain; charset=' . LANG_CHARSET; + $maildata['headers'][] = 'Auto-Submitted: auto-generated'; if (LANG_CHARSET == 'UTF-8') { if (function_exists('imap_8bit')) {