From: x2000habouzit Date: Tue, 2 Nov 2004 19:40:41 +0000 (+0000) Subject: old behaviour X-Git-Tag: xorg/old~1084 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=3060fc9c14e27acdfae3525f50b78b9745aa006e;p=platal.git old behaviour --- diff --git a/include/newsletter.inc.php b/include/newsletter.inc.php index f906546..3edcd84 100644 --- a/include/newsletter.inc.php +++ b/include/newsletter.inc.php @@ -18,7 +18,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: newsletter.inc.php,v 1.28 2004-11-02 11:41:33 x2000habouzit Exp $ + $Id: newsletter.inc.php,v 1.29 2004-11-02 19:40:41 x2000habouzit Exp $ ***************************************************************************/ define('FEMME', 1); @@ -256,10 +256,11 @@ EOF; function sendTo($prenom,$nom,$forlife,$sex,$html) { require_once('diogenes.mailer.inc.php'); $fullname = "=?ISO-8859-1?Q?".quoted_printable_encode(str_replace(' ','_',"$prenom $nom"),200)."?="; - $mailer = new DiogenesMailer("Lettre Mensuelle Polytechnique.org ", - replace_accent("$fullname <$forlife@polytechnique.org>"), + $mailer = new DiogenesMailer("Lettre Mensuelle Polytechnique.org ", + "$fullname <$forlife@polytechnique.org>", $this->title(true), $html); + $mailer->addHeader("Reply-To: info+nlp@polytechnique.org"); if($html) { $mailer->addPart('text/plain; charset=iso-8859-1', 'iso-8859-1', $this->toText($prenom,$nom,$sex)); $mailer->addPart('text/html; charset=iso-8859-1', 'iso-8859-1', $this->toHtml($prenom,$nom,$sex,true));