Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 3022 → Rev 3023

/web/email_registration_back.php
49,7 → 49,6
}
fclose($file_conf);
$whiteDomain = explode(" ", strtolower(trim($conf['MAIL_WHITEDOMAIN'])));
$adminMail = $conf['MAIL_ADMIN'];
 
/****************************************
* Choice of language *
309,7 → 308,7
$domain = $conf["DOMAIN"];
$hostname = $conf["HOSTNAME"];
$to = $Fmail;
$from = "administrator";
$from = $conf["MAIL_ADDR"];
$subject = $l_subject;
$message = "<!DOCTYPE html>
<html>
335,9 → 334,9
echo "<center>success : <b>Vous y êtes presque ! $l_user '$login' $l_created</b></center><br />";
echo "<center>success : <b>Un email contenant vos informations de connexion vient de vous être envoyé.</b></center><br />";
// Creation of the email for the administrator (if enabled)
if (!empty($adminMail)){
$to = $adminMail;
$from = "administrator";
if (!empty($conf['MAIL_ADMIN']){
$to = $conf['MAIL_ADMIN'];
$from = $conf["MAIL_ADDR"];
$subject = "New registration on ALCASAR";
$message = "<!DOCTYPE html>
<html>