1package SVN::Hooks::Mailer;
2# ABSTRACT: Send emails after successful commits.
3$SVN::Hooks::Mailer::VERSION = '1.34';
4use strict;
5use warnings;
6
7use Carp;
8use SVN::Hooks;
9
10use Exporter qw/import/;
11my $HOOK = 'MAILER';
12our @EXPORT = qw/EMAIL_CONFIG EMAIL_COMMIT/;
13
14
15sub _deprecated {
16    croak <<"EOS";
17DEPRECATED: The SVN::Hooks::Mailer plugin was deprecated in 2008 and
18became nonoperational in version 1.08. You must edit your hook
19configuration to remove the directives EMAIL_CONFIG and
20EMAIL_COMMIT. You may use the new SVN::Hooks::Notify plugin for
21sending email notifications.
22EOS
23}
24
25
26sub EMAIL_CONFIG {
27    _deprecated();
28}
29
30
31sub EMAIL_COMMIT {
32    _deprecated();
33}
34
35
361; # End of SVN::Hooks::Mailer
37
38__END__
39
40=pod
41
42=encoding UTF-8
43
44=head1 NAME
45
46SVN::Hooks::Mailer - Send emails after successful commits.
47
48=head1 VERSION
49
50version 1.34
51
52=head1 SYNOPSIS
53
54This SVN::Hooks plugin is deprecated. You should use
55SVN::Hooks::Notify instead.
56
57=over
58
59=item EMAIL_CONFIG
60
61=item EMAIL_COMMIT
62
63=back
64
65=head1 AUTHOR
66
67Gustavo L. de M. Chaves <gnustavo@cpan.org>
68
69=head1 COPYRIGHT AND LICENSE
70
71This software is copyright (c) 2016 by CPqD <www.cpqd.com.br>.
72
73This is free software; you can redistribute it and/or modify it under
74the same terms as the Perl 5 programming language system itself.
75
76=cut
77