Courier::Filter::Module::MIMEParts - Message (MIME multipart and ZIP archive)


Courier-Filter documentation Contained in the Courier-Filter distribution.

Index


Code Index:

NAME

Top

Courier::Filter::Module::MIMEParts - Message (MIME multipart and ZIP archive) parts filter module for the Courier::Filter framework

DESCRIPTION

Top

As of Courier::Filter 0.13, the MIMEParts filter module is deprecated in favor of the new Parts filter module, which is compatible but a lot more powerful. The MIMEParts module will be removed in Courier::Filter 0.20. You can still instantiate MIMEParts modules in your config file for now, but what will be created is really nothing more than Parts modules. See Courier::Filter::Module::Parts for the interface description.

SEE ALSO

Top

Courier::Filter::Module::Parts, Courier::Filter::Module, Courier::Filter::Overview.

For AVAILABILITY, SUPPORT, and LICENSE information, see Courier::Filter::Overview.

AUTHOR

Top

Julian Mehnle <julian@mehnle.net>


Courier-Filter documentation Contained in the Courier-Filter distribution.
#
# Courier::Filter::Module::MIMEParts class
#
# (C) 2003-2008 Julian Mehnle <julian@mehnle.net>
# $Id: MIMEParts.pm 210 2008-03-21 19:30:31Z julian $
#
###############################################################################

package Courier::Filter::Module::MIMEParts;

use warnings;
use strict;

use base 'Courier::Filter::Module::Parts';

use constant TRUE   => (0 == 0);
use constant FALSE  => not TRUE;

sub new {
    my ($class, %options) = @_;
    STDERR->print("Warning: The MIMEParts filter module is deprecated. Use the Parts module instead.\n");
    return $class->SUPER::new(%options);
}

TRUE;