From 644c60551f6c7ee4936e02d9eb44d87728e4e83c Mon Sep 17 00:00:00 2001 From: stevetruckstuff Date: Fri, 15 Sep 2006 19:31:32 +0000 Subject: [PATCH] Delivery notifications and Read notifications are currently treated as identical, which they are not. This patch creates a separate var for these two types of notifications. compose.php will be patched to handle this correctly when templatization (t12n) is completed. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11709 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- class/mime/Rfc822Header.class.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/class/mime/Rfc822Header.class.php b/class/mime/Rfc822Header.class.php index 2b5d7dda..c5b99d6c 100644 --- a/class/mime/Rfc822Header.class.php +++ b/class/mime/Rfc822Header.class.php @@ -107,9 +107,15 @@ class Rfc822Header { */ var $priority = 3; /** + * Disposition notification for requesting message delivery notification (MDN) * @var mixed */ var $dnt = ''; + /** + * Delivery notification (DR) + * @var mixed + */ + var $drnt = ''; /** * @var mixed */ @@ -260,11 +266,14 @@ class Rfc822Header { $this->references = $value; break; case 'x-confirm-reading-to': - case 'return-receipt-to': case 'disposition-notification-to': $value = $this->stripComments($value); $this->dnt = $this->parseAddress($value); break; + case 'return-receipt-to': + $value = $this->stripComments($value); + $this->drnt = $this->parseAddress($value); + break; case 'mime-version': $value = $this->stripComments($value); $value = str_replace(' ', '', $value); -- 2.25.1