[Rt-commit] r18346 - rt/3.8/trunk/lib/RT/Interface

jesse at bestpractical.com jesse at bestpractical.com
Thu Feb 12 13:00:30 EST 2009


Author: jesse
Date: Thu Feb 12 13:00:30 2009
New Revision: 18346

Modified:
   rt/3.8/trunk/lib/RT/Interface/Email.pm

Log:
RT-Ticket: 13174
RT-Status: resolved
RT-update correspond

There's a small typo in RT::Interface::Email that causes emails to be sent to   
the first To address only, ignoring the other recipients such as Cc.            
Requestors: eynat.nirmishor at algosec.com                                       


Modified: rt/3.8/trunk/lib/RT/Interface/Email.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Interface/Email.pm	(original)
+++ rt/3.8/trunk/lib/RT/Interface/Email.pm	Thu Feb 12 13:00:30 2009
@@ -435,9 +435,8 @@
 
         # duplicate head as we want drop Bcc field
         my $head = $args{'Entity'}->head->dup;
-        my @recipients = map $_->address, Email::Address->parse(
-            map $head->get($_), qw(To Cc Bcc)
-        );
+        my @recipients = map $_->address, map 
+            Email::Address->parse($head->get($_)), qw(To Cc Bcc);                       
         $head->delete('Bcc');
 
         my $sender = RT->Config->Get('SMTPFrom')


More information about the Rt-commit mailing list