Help for this page

Select Code to Download


  1. or download this
            } else {          ### parent
                $self->print( \*SENDMAIL );
                close SENDMAIL || die "error closing $p{Sendmail}: $! (exi
    +t $?)\n";
                $return = 1;
            }
    
  2. or download this
    my $sent_ok= eval {
        $mail->send;
    ...
    if( my $err= $@ ) {
        warn "Error while sending mail: '$err'";
    };