missed this in earlier changes

This commit is contained in:
ian%hixie.ch 2003-07-03 17:59:17 +00:00
parent 6a76698c4e
commit d06a945451

View File

@ -91,7 +91,7 @@ sub output {
$self->assert(defined($self->{handle}), 1, 'No SMTP handle, can\'t send mail');
try {
local $SIG{ALRM} = sub { raise PLIF::Exception::Alarm };
$self->assert($self->{handle}->mail($self->from), 1, 'Could not start sending mail');
$self->assert($self->{handle}->mail($self->{from}), 1, 'Could not start sending mail');
$self->assert($self->{handle}->to($args->{'session'}->getAddress('email')), 1, 'Could not set mail recipient (was going to send to '.($args->{'session'}->getAddress('email')).')');
$self->assert($self->{handle}->data($args->{'string'}), 1, 'Could not send mail body');
alarm(0);