Add question in confirmation email
This commit is contained in:
parent
b056fee4d8
commit
c4c75ea083
4 changed files with 34 additions and 7 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Reference in a new issue