Help for this page

Select Code to Download


  1. or download this
        $vars = {
            image_path => $image_path,
    ...
    
        $template->process($template_file, $vars)
        || die "Template process failed: ", $template->error(), "\n";
    
  2. or download this
        $to_address = $_[0];
        $from = $_[1];
    ...
        print MAIL "To:    print MAIL "From: $from\n";
        print MAIL "Subject: $subject\n";
        print MAIL "$content\n";