6df92cd56e
(note the branch, v010) git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@23 958fd67b-6ff1-0310-b445-bb7760255be9
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;
|