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