[Tickets #865] Encryption only works for one recipient

bugs at bugs.horde.org bugs at bugs.horde.org
Wed Nov 24 04:33:52 PST 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=865
-----------------------------------------------------------------------
 Ticket     | 865
 Updated By | ctnpublic-horde at yahoo.com
 Summary    | Encryption only works for one recipient
 Queue      | IMP
 Version    | HEAD
 State      | Accepted
 Priority   | 1. Low
 Type       | Enhancement
 Owners     | Michael Slusarz
-----------------------------------------------------------------------


ctnpublic-horde at yahoo.com (2004-11-24 04:33) wrote:

Thanks for the quick responses.

imp/compose.php now needs this for multiple recipients to work. Without it,
$recipientArray[0] still contains the entire "to" list, $recipientArray[1]
the entire "cc" list, etc.

Index: imp/compose.php
===================================================================
RCS file: /repository/imp/compose.php,v
retrieving revision 2.791
diff -u -r2.791 compose.php
--- imp/compose.php     24 Nov 2004 07:51:24 -0000      2.791
+++ imp/compose.php     24 Nov 2004 12:29:04 -0000
@@ -772,6 +772,7 @@
         break;
     }
     $recipients = implode(', ', $recipientArray);
+    $recipientArray = split("[,;]", $recipients);

     /* Get identity information now as it is needed for some of the
encryption
      * code. */





More information about the bugs mailing list