Correction email investigation <br>
This commit is contained in:
parent
614f19ff2e
commit
3cb27449f7
@ -106,16 +106,16 @@ if ($_REQUEST['action']<>'envoyer')
|
||||
$fp=fopen(PATH_LOGS.'enquetes.csv', 'a');
|
||||
fwrite($fp, date('Y/m/d H:i:s').' - '.print_r($_REQUEST['formR'],true).print_r($tabInfo,true)."\n");
|
||||
fclose($fp);
|
||||
$message = "Détail de la demande d'investigation\n";
|
||||
$message = "Détail de la demande d'investigation<br/>";
|
||||
foreach($formR as $key => $value) {
|
||||
$message.= ucwords($key)." : ".$value."\n";
|
||||
$message.= ucwords($key)." : ".$value."<br/>";
|
||||
}
|
||||
$message.= "\n";
|
||||
$message.= "Identité du demandeur\n";
|
||||
$message.= "Login : ".$tabInfo['login'];
|
||||
$message.= "Email : ".$tabInfo['email'];
|
||||
$message.= "Nom : ".$tabInfo['nom'];
|
||||
$message.= "Prénom : ".$tabInfo['prenom'];
|
||||
$message.= "<br/>";
|
||||
$message.= "Identité du demandeur<br/>";
|
||||
$message.= "Login : ".$tabInfo['login']."<br/>";
|
||||
$message.= "Email : ".$tabInfo['email']."<br/>";
|
||||
$message.= "Nom : ".$tabInfo['nom']."<br/>";
|
||||
$message.= "Prénom : ".$tabInfo['prenom']."<br/>";
|
||||
require_once 'sendmail/mail.php';
|
||||
sendMail( "Demande d'investigation", $message,
|
||||
//From
|
||||
|
Loading…
x
Reference in New Issue
Block a user