|
|
|
@ -80,13 +80,18 @@ Kind regards,
|
|
|
|
|
the voting system.
|
|
|
|
|
|
|
|
|
|
BODY;
|
|
|
|
|
$this->notify("Re: ".$decision['tag']." - ".$decision['title'],$body);
|
|
|
|
|
$this->notify("Re: ".$decision['tag']." - ".$decision['title']." - finalised",$body,$decision['tag']);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
function notify($subject,$body)
|
|
|
|
|
function notify($subject,$body,$tag,$first=FALSE)
|
|
|
|
|
{
|
|
|
|
|
mail($this->board,$subject,$body,"From: Voting System <returns@cacert.org>");
|
|
|
|
|
if ($first) {
|
|
|
|
|
$header = "Message-id: <".$tag.">\r\n";
|
|
|
|
|
} else {
|
|
|
|
|
$header = "References: <".$tag.">\r\nIn-reply-to: <".$tag.">\r\n";
|
|
|
|
|
}
|
|
|
|
|
mail($this->board,$subject,$body,$header."From: Voting System <returns@cacert.org>");
|
|
|
|
|
//mail("testsympa@lists.cacert.org",$subject,$body,"From: Voting System <returns@cacert.org>");
|
|
|
|
|
}
|
|
|
|
|
function auth()
|
|
|
|
|