mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
missed this in earlier changes
This commit is contained in:
parent
6a76698c4e
commit
d06a945451
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user