Would it be possible to change wiki::getEmailNotifyList to generate an RFC822 compliant TO: header? Currently multiple addresses are delimited by a space. The RFC requires a ','. Programs other than sendmail do not parse the current field correctly. Here is my temp hack to make it work.
my $x = 0;
foreach $line (@list){
if( $1 ){
if ($x){
$list = "$list, $1";
}
else{
$list = "$list $1";
}
$x += 1;
}
}
--
MikeThomas - 16 Nov 2000
Thanks for pointing out this bug. Change has been done as follows:
foreach $line ( @list ) {
$line =~ s/\-\s+([A-Za-z0-9\-_\.\+]+\@[A-Za-z0-9\-_\.\+]+)/$1/go;
if( $1 ) {
$list = "$list, $1";
}
}
$list =~ s/^[\s\,]*//go;
$list =~ s/[\s\,]*$//go;
Commited to
TWikiAlphaRelease, version 02 Dec 2000.
--
PeterThoeny - 25 Nov 2000