From: J. Shirley Date: Thu, 12 Feb 2009 20:18:09 +0000 (+0000) Subject: Pod fix, adding parent to makefile X-Git-Tag: v0.14~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6a68a57d4972c8011d43783cb59cffc7caf2aa7d;hp=b7b30250454cdf1834f4dc8107d61bcb12712f46;p=catagits%2FCatalyst-View-Email.git Pod fix, adding parent to makefile --- diff --git a/Makefile.PL b/Makefile.PL index 2ec4eb2..474db3a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -5,7 +5,7 @@ all_from 'lib/Catalyst/View/Email.pm'; requires 'Catalyst' => '5.7'; requires 'Class::C3'; - +requires 'parent'; requires 'Email::Send' => '2.185'; requires 'Email::MIME' => '1.859'; requires 'Email::MIME::Creator' => '1.455'; diff --git a/lib/Catalyst/View/Email/Template.pm b/lib/Catalyst/View/Email/Template.pm index 66d54e0..178784f 100644 --- a/lib/Catalyst/View/Email/Template.pm +++ b/lib/Catalyst/View/Email/Template.pm @@ -60,7 +60,7 @@ the template instead of the body and forwarding to your Email::Template view: $c->stash->{email} = { to => 'jshirley@gmail.com', cc => 'abraxxa@cpan.org', - bcc => [ qw/hidden@secret.com hidden2@foobar.com/ ], + bcc => 'hidden@secret.com hidden2@foobar.com', from => 'no-reply@foobar.com', subject => 'I am a Catalyst generated email', template => 'test.tt',