Commit 7b748e6e authored by Thomas Fradet's avatar Thomas Fradet

mail from typo

parent 68ca08bb
......@@ -103,8 +103,8 @@ try {
$message .= $_POST['textarea_message']['text'];
$message .= '<br /> De la part de : '.$USER->firstname . " " . $USER->lastname . " ( " . $USER->username. " / ID = " . $USER->id . " ) ";
$headers = 'From: '.$USER->mail.'' . "\r\n" .
'Reply-To: '.$CFG->mail_iena.'' . "\r\n" .
$headers = 'From: '.$USER->email.'' . "\r\n" .
'Reply-To: '.$USER->email.'' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=UTF-8\r\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment