Help for this page

Select Code to Download


  1. or download this
       if ( $copiesto )
          { $msg->add( CC => $copiesto ); }
    
  2. or download this
       $msg->attach
          ( Disposition => 'attachment',
            Type        => $sentinfo->{ 'Content-Type' },
    ...
            Filename    => $sentname,
            FH          => $sentfile
           );
    
  3. or download this
       if ( defined( $settings{ "DEBUG" } ) )
       {
           $msg->attach
    ...
                     ]
          );
       }
    
  4. or download this
       my $cgi         = new CGI;
       my $sentfile    = $cgi->upload( 'sentfile' );
       my $sentsize;
    ...
          fileparse_set_fstype( "MSDOS" );  # risky assumption?
          my ( $sentname ) = fileparse( $sentfile );
       }