summaryrefslogtreecommitdiff
path: root/database.php
diff options
context:
space:
mode:
authorcommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>2009-06-12 05:01:29 +0000
committercommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>2009-06-12 05:01:29 +0000
commita159b44435bff6efc2ad25c232d163d48eae1044 (patch)
tree8bddfbc38ad6113878f17a27e391f890b2d8a0dd /database.php
parenta66ba7060a9e2ea9261dfe6f862110fe27ea26ec (diff)
downloadcacert-boardvoting-a159b44435bff6efc2ad25c232d163d48eae1044.tar.gz
cacert-boardvoting-a159b44435bff6efc2ad25c232d163d48eae1044.tar.xz
cacert-boardvoting-a159b44435bff6efc2ad25c232d163d48eae1044.zip
add reminder functionality
git-svn-id: http://svn.cacert.cl/Software/Voting/vote@58 d4452222-2f33-11de-9270-010000000000
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");