File: Email.pm

package info (click to toggle)
libmojomojo-perl 1.01%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,272 kB
  • ctags: 879
  • sloc: perl: 14,055; sh: 145; xml: 120; ruby: 6; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package MojoMojo::View::Email;

use parent 'Catalyst::View::Email::Template';

__PACKAGE__->config(
    stash_key       => 'email',
    template_prefix => 'mail',
    sender          => { mailer => 'SMTP' },
    default         => {
        content_type => 'text/plain',
        charset      => 'utf-8',
        view         => 'TT',
    },
);

1;

__END__

=head1 Name

MojoMojo::View::Email - Email Templates

=cut