Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 3023 → Rev 3022

/web/email_registration_back.php
49,6 → 49,7
}
fclose($file_conf);
$whiteDomain = explode(" ", strtolower(trim($conf['MAIL_WHITEDOMAIN'])));
$adminMail = $conf['MAIL_ADMIN'];
 
/****************************************
* Choice of language *
308,7 → 309,7
$domain = $conf["DOMAIN"];
$hostname = $conf["HOSTNAME"];
$to = $Fmail;
$from = $conf["MAIL_ADDR"];
$from = "administrator";
$subject = $l_subject;
$message = "<!DOCTYPE html>
<html>
334,9 → 335,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($conf['MAIL_ADMIN']){
$to = $conf['MAIL_ADMIN'];
$from = $conf["MAIL_ADDR"];
if (!empty($adminMail)){
$to = $adminMail;
$from = "administrator";
$subject = "New registration on ALCASAR";
$message = "<!DOCTYPE html>
<html>