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');
|
$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");
|
fwrite($fp, date('Y/m/d H:i:s').' - '.print_r($_REQUEST['formR'],true).print_r($tabInfo,true)."\n");
|
||||||
fclose($fp);
|
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) {
|
foreach($formR as $key => $value) {
|
||||||
$message.= ucwords($key)." : ".$value."\n";
|
$message.= ucwords($key)." : ".$value."<br/>";
|
||||||
}
|
}
|
||||||
$message.= "\n";
|
$message.= "<br/>";
|
||||||
$message.= "Identité du demandeur\n";
|
$message.= "Identité du demandeur<br/>";
|
||||||
$message.= "Login : ".$tabInfo['login'];
|
$message.= "Login : ".$tabInfo['login']."<br/>";
|
||||||
$message.= "Email : ".$tabInfo['email'];
|
$message.= "Email : ".$tabInfo['email']."<br/>";
|
||||||
$message.= "Nom : ".$tabInfo['nom'];
|
$message.= "Nom : ".$tabInfo['nom']."<br/>";
|
||||||
$message.= "Prénom : ".$tabInfo['prenom'];
|
$message.= "Prénom : ".$tabInfo['prenom']."<br/>";
|
||||||
require_once 'sendmail/mail.php';
|
require_once 'sendmail/mail.php';
|
||||||
sendMail( "Demande d'investigation", $message,
|
sendMail( "Demande d'investigation", $message,
|
||||||
//From
|
//From
|
||||||
|
Loading…
x
Reference in New Issue
Block a user