Mailmunge::Action − base class for Action and Test Mailmunge plugins
This is a convenience base class that simply hangs on to a copy of the current Mailmunge::Filter object.
package
MyAction;
use base qw(Mailmunge::Action);
sub my_action_functionality { ... };
# And then inside your filter...
my $action = MyAction−>new($self);
$action−>my_action_functionality($ctx);
Constructs a new Mailmunge::Action object and stores a copy of $filter in it
Returns the Mailmunge::Filter object supplied to the constructor.
Dianne Skoll <[email protected]>
This code is licensed under the terms of the GNU General Public License, version 2.