Subject: | Error in dealing with UNC |
UNC paths when specified for files to be attached, fails.
file = \\server\asd\qwerty\z.pdf
The root cause appears to be the string replacement that
replaces the above by
file = \server\asd\qwerty\z.pdf
This can be corrected as:
foreach my $anex_i ( @anex ) {
&_to_one_line($anex_i) ;
if ($anex_i eq '') { next ;}
$anex_i =~ s/\//\//gs ;
if (!-e $anex_i) { $ER = "Invalid Anex: $anex_i" ; return( undef ) ;}
if (-d $anex_i) { $ER = "Anex is a directory: $anex_i" ; return( undef ) ;}
$anex_i =~ s/\/$// ;
}