Help for this page

Select Code to Download


  1. or download this
    [%-
    Mail.from=    'my.sender@ddress';
    ...
             ];
    %]
    here the body comes
    
  2. or download this
        my $vars= {
            Mail   => {},
    ...
        $tt->process( $template, $vars, \$output) or die $tt->error();
        # Here I now have:
        # $vars->{'Mail'}->{'subject'} etc.
    
  3. or download this
    [%-
    # (String) Name of the main report file
    ...
        'Ijon Tichy'     => 'Ijon.Tichy@my.do.main',
    };
    %]
    
  4. or download this
    my $config_file= 'sendreport.conf';
    my $config= {
    ...
        Files => {},
    };
    $tt->process($config_file, $config) or die $tt->error();