Add question in confirmation email

This commit is contained in:
Bertrand 2012-05-24 23:14:19 +02:00
commit c4c75ea083
4 changed files with 34 additions and 7 deletions

View file

@ -20,7 +20,7 @@ else
$validationAddress = "/validation.php?id=".$question->getId();
// Uncomment the following part for random email
/*
while ($dest_mail == $question->get_validator())
{
$file = fopen('email.txt', 'r');
@ -34,7 +34,7 @@ else
}
fclose($file);
}
*/
/* This code works, perhaps should be placed in a method in Question class?*/
$to = $dest_mail;
$subject = "[Nemubot] Validation d'une question";