[Catalyst-commits] r9484 - Catalyst-View-Email/0.10/lib/Catalyst/View

purge at dev.catalyst.perl.org purge at dev.catalyst.perl.org
Tue Mar 10 17:09:12 GMT 2009


Author: purge
Date: 2009-03-10 17:09:12 +0000 (Tue, 10 Mar 2009)
New Revision: 9484

Modified:
   Catalyst-View-Email/0.10/lib/Catalyst/View/Email.pm
Log:
correct bcc config + missing curly brackets

Modified: Catalyst-View-Email/0.10/lib/Catalyst/View/Email.pm
===================================================================
--- Catalyst-View-Email/0.10/lib/Catalyst/View/Email.pm	2009-03-10 12:58:28 UTC (rev 9483)
+++ Catalyst-View-Email/0.10/lib/Catalyst/View/Email.pm	2009-03-10 17:09:12 UTC (rev 9484)
@@ -63,6 +63,8 @@
                     username => 'username',
                     password => 'password',
             }
+          }
+        }
     );
 
 =head1 NOTE ON SMTP
@@ -90,7 +92,7 @@
         $c->stash->{email} = {
             to      => 'jshirley at gmail.com',
             cc      => 'abraxxa at cpan.org',
-            bcc     => 'hidden at secret.com, hidden2 at foobar.com',
+            bcc     => join ',', qw/hidden at secret.com hidden2 at foobar.com/,
             from    => 'no-reply at foobar.com',
             subject => 'I am a Catalyst generated email',
             body    => 'Body Body Body',
@@ -110,7 +112,7 @@
         header => [
             To      => 'jshirley at gmail.com',
             Cc      => 'abraxxa at cpan.org',
-            Bcc     => 'hidden at secret.com, hidden2 at foobar.com',
+            Bcc     => join ',', qw/hidden at secret.com hidden2 at foobar.com/,
             From    => 'no-reply at foobar.com',
             Subject => 'Note the capitalization differences',
         ],




More information about the Catalyst-commits mailing list