31 lines
390 B
Perl
31 lines
390 B
Perl
|
package Qpsmtpd::Transaction;
|
||
|
use strict;
|
||
|
|
||
|
sub new { start(@_) }
|
||
|
|
||
|
sub start {
|
||
|
my $proto = shift;
|
||
|
my $class = ref($proto) || $proto;
|
||
|
my %args = @_;
|
||
|
my $self = { _rcpt => [] };
|
||
|
bless ($self, $class);
|
||
|
}
|
||
|
|
||
|
sub add_header {
|
||
|
my $self = shift;
|
||
|
}
|
||
|
|
||
|
sub add_recipient {
|
||
|
my $self = shift;
|
||
|
|
||
|
}
|
||
|
|
||
|
sub sender {
|
||
|
my $self = shift;
|
||
|
@_ and $self->{_sender} = shift;
|
||
|
$self->{_sender};
|
||
|
|
||
|
}
|
||
|
|
||
|
1;
|