diff options
-rw-r--r-- | lib/CatDap/View/Email/Template.pm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/CatDap/View/Email/Template.pm b/lib/CatDap/View/Email/Template.pm new file mode 100644 index 0000000..d023363 --- /dev/null +++ b/lib/CatDap/View/Email/Template.pm @@ -0,0 +1,38 @@ +package CatDap::View::Email::Template; + +use strict; +use base 'Catalyst::View::Email::Template'; + +__PACKAGE__->config( + stash_key => 'email', + template_prefix => 'email', + default => { + view => 'TT', + content_type => 'text/plain', + } +); + +=head1 NAME + +CatDap::View::Email::Template - Templated Email View for CatDap + +=head1 DESCRIPTION + +View for sending template-generated email from CatDap. + +=head1 AUTHOR + +Buchan Milne + +=head1 SEE ALSO + +L<CatDap> + +=head1 LICENSE + +This library is free software, you can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut + +1; |