From 755fcb3bfd46d65782788fd448815502f7d75700 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 4 Dec 2009 01:29:26 -0700 Subject: [PATCH] Request #8485: documentation --- imp/lib/Compose.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/imp/lib/Compose.php b/imp/lib/Compose.php index f73f05680..b9b40f522 100644 --- a/imp/lib/Compose.php +++ b/imp/lib/Compose.php @@ -1328,9 +1328,10 @@ class IMP_Compose $identity = Horde_Prefs_Identity::singleton(array('imp', 'imp')); $all_addrs = array_keys($identity->getAllFromAddresses(true)); - /* Build the To: header. It is either 1) the Reply-To address - * (if not a personal address), 2) the From address (if not a - * personal address), or 3) all remaining Cc addresses. */ + /* Build the To: header. It is either: + * 1) the Reply-To address (if not a personal address) + * 2) the From address (if not a personal address) + * 3) all remaining Cc addresses. */ $cc_addrs = array(); foreach (array('reply-to', 'from', 'to', 'cc') as $val) { /* If either a reply-to or $to is present, we use this address @@ -1369,7 +1370,10 @@ class IMP_Compose } } - /* Build the Cc: (or possibly the To:) header. */ + /* Build the Cc: (or possibly the To:) header. If this is a + * reply to a message that was already replied to by the user, + * this reply will go to the original recipients (Request + * #8485). */ $hdr_cc = array(); foreach ($cc_addrs as $ob) { if (isset($ob['groupname'])) { -- 2.11.0