summaryrefslogtreecommitdiff
path: root/database.php
diff options
context:
space:
mode:
Diffstat (limited to 'database.php')
-rw-r--r--database.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/database.php b/database.php
index f8b5b11..83aec29 100644
--- a/database.php
+++ b/database.php
@@ -104,6 +104,11 @@ BODY;
$header = "References: <".$tag.">\r\nIn-reply-to: <".$tag.">\r\n";
mail($this->notices, mb_encode_mimeheader($subject,"UTF-8", "B", "\n"),$body,$header."From: Voting System <returns@cacert.org>");
}
+ function remind_notify($email,$subject,$body)
+ {
+ $header = "Content-Type: text/plain; charset=UTF-8\r\n";
+ mail($email,$subject,$body,$header."From: Voting System <returns@cacert.org>");
+ }
function auth()
{
$stmt = $this->getStatement("get voter");