Mail::Abuse::Processor - Process a Mail::Abuse::Report


Mail-Abuse documentation  | view source Contained in the Mail-Abuse distribution.

Index


NAME

Top

Mail::Abuse::Processor - Process a Mail::Abuse::Report

SYNOPSIS

Top

  package Mail::Abuse::Processor::MyProcessor;
  use Mail::Abuse::Processor;

  use base 'Mail::Abuse::Processor';
  sub process { ... }
  package main;

  use Mail::Abuse::Report;
  my $p = new Mail::Abuse::Processor::MyProcessor;
  my $report = new Mail::Abuse::Report (processors => [ $p ]);

  # ... other pieces of code that configure the report ...

DESCRIPTION

Top

This class implements the actions that are performed in a Mail::Abuse::Report after it has been received and parsed. Actions usually include storing the report, opening tickets, etc.

The following functions are provided for the customization of the behavior of the class.

process($report)

Takes a Mail::Abuse::Report object as an argument and performs the processing action required.

EXPORT

None by default.

HISTORY

Top

0.01

Original version; created by h2xs 1.2 with options

  -ACOXcfkn
	Mail::Abuse
	-v
	0.01

LICENSE AND WARRANTY

Top

This code and all accompanying software comes with NO WARRANTY. You use it at your own risk.

This code and all accompanying software can be used freely under the same terms as Perl itself.

AUTHOR

Top

Luis E. Muņoz <luismunoz@cpan.org>

SEE ALSO

Top

perl(1).


Mail-Abuse documentation  | view source Contained in the Mail-Abuse distribution.