Net::Server::Mail::ESMTP::Extension - The base class for ESMTP extension system


Net-Server-Mail documentation Contained in the Net-Server-Mail distribution.

Index


Code Index:

NAME

Top

Net::Server::Mail::ESMTP::Extension - The base class for ESMTP extension system

DESCRIPTION

Top

init

Top

  ($self) = $obj->init($parent);

You can override this method to do something at the initialisation. The method takes the $smtp object as parameter.

verb

Top

keyword

Top

parameter

Top

option

Top

reply

Top


Net-Server-Mail documentation Contained in the Net-Server-Mail distribution.
package Net::Server::Mail::ESMTP::Extension;

use 5.006;
use strict;

our $VERSION = "0.14";

sub new
{
    my($proto, $parent) = @_;
    my $class  = ref $proto || $proto;
    my $self   = {};
    bless($self, $class);
    return $self->init($parent);
}

sub init
{
    my($self, $parent) = @_;
    return $self;
}

sub verb
{
    return ();
}

sub keyword
{
    return 'XNOTOVERLOADED';
}

sub parameter
{
    return ();
}

sub option
{
    return ();
}

sub reply
{
    return ();
}

1;