Help for this page

Select Code to Download


  1. or download this
    $file='file.html';
    $mime_msg->attach(Type => 'text/html', Path => $file, Filename => $fil
    +e ) or die "Error attaching html: $!\n";
    
  2. or download this
    $file='file.html';
    $mime_msg->attach(Type => 'text/html', Path => $file, Filename => $fil
    +e ) or die "Error attaching html: $!\n";
    $file2='attach.csv';
    $mime_msg->attach(Type => 'application/csv', Path => $file2, Filename 
    +=> $file2 ) or die "Error attaching html: $!\n";