Messages get mailed to the wrong people
Brought to you by:
dga,
kevin_kadow
Under some circumstances people get mailed messages
that they should not see.
Fix:
In method sendnotify, add the line
$themes = "";
just before the following loop:
foreach $line (@meslines) {
$themes .= "$line\n";
}
so that code reads like this:
if ($content_subject) {
@meslines = split(/\n/, $MESSAGE{$person});
$thesub = shift @meslines;
$themes = "";
foreach $line (@meslines) {
$themes .= "$line\n";
}
} else {
$themes = $MESSAGE{$person};
$thesub = $emailsubject;
}