/trunk/client/inscription/bibliotheque/inscription.fonct.php |
---|
577,11 → 577,11 |
$mail = & Mail::factory ('smtp') ; |
$email = $GLOBALS['AUTH']->getUsername() ; |
$headers ['Return-Path'] = $email ; |
$headers ['From'] = "<".$email.">" ; |
$headers ['From'] = '<'.$email.'>'; |
$headers ['Subject'] = $action ; |
$headers ['Reply-To'] = $email ; |
$mail -> send ($action, $headers, "") ; |
$mail->send($action, $headers, ''); |
if (PEAR::isError ($mail)) { |
echo '<p class="erreur">Le mail n\'est pas partie...</p>' ; |
return false ; |