* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: homonymes.php,v 1.7 2004-11-16 20:36:11 x2000habouzit Exp $
+ $Id: homonymes.php,v 1.8 2004-11-16 21:02:45 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
if ($target) {
// from
$cc = "support+homonyme@polytechnique.org";
- $FROM = "Support Polytechnique.org <$cc>";
+ $FROM = "\"Support Polytechnique.org\" <$cc>";
// on examine l'op a effectuer
switch ($op) {
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: submit.php,v 1.5 2004-11-16 20:36:11 x2000habouzit Exp $
+ $Id: submit.php,v 1.6 2004-11-16 21:02:46 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
$nl->saveArticle($art);
require("diogenes.hermes.inc.php");
- $from = "{$_SESSION['prenom']} {$_SESSION['nom']} ({$_SESSION['promo']}) <{$_SESSION['forlife']}@polytechnique.org>";
+ $from = "\"{$_SESSION['prenom']} {$_SESSION['nom']} ({$_SESSION['promo']})\" <{$_SESSION['forlife']}@polytechnique.org>";
$mailer = new HermesMailer();
$mailer->setSubject("proposition d'article dans la NL");
$mailer->setTo('Equipe Newsletter Polytechnique.org <info+nlp@polytechnique.org>');
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: cyberpaiement_retour.php,v 1.9 2004-11-16 20:36:12 x2000habouzit Exp $
+ $Id: cyberpaiement_retour.php,v 1.10 2004-11-16 21:02:46 x2000habouzit Exp $
***************************************************************************/
require("config.xorg.inc.php") ;
$mymail = new HermesMailer();
$mymail->setFrom($conf_mail);
-$mymail->addTo("$prenom $nom <$forlife@polytechnique.org>");
+$mymail->addTo("\"$prenom $nom\" <$forlife@polytechnique.org>");
$mymail->addCc($conf_mail);
$mymail->setSubject($conf_title);
$mymail->setTxtBody($conf_text);
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: identification.inc.php,v 1.16 2004-11-16 20:43:06 x2000habouzit Exp $
+ $Id: identification.inc.php,v 1.17 2004-11-16 21:02:46 x2000habouzit Exp $
***************************************************************************/
require_once('xorg.misc.inc.php');
$globals->db->query("REPLACE INTO homonymes (homonyme_id,user_id) VALUES ($h_id,$h_id)");
require_once('diogenes.hermes.inc.php');
$mailer = new HermesMailer();
- $mailer->setFrom('Support Polytechnique.org <support@polytechnique.org>');
+ $mailer->setFrom('\"Support Polytechnique.org\" <support@polytechnique.org>');
$mailer->addTo("$mailorg@polytechnique.org");
$mailer->setSubject("perte de ton alias $mailorg dans un mois !");
- $mailer->addCc('Support Polytechnique.org <support@polytechnique.org>');
+ $mailer->addCc('\"Support Polytechnique.org\" <support@polytechnique.org>');
$msg =
"Un homonyme s'est inscrit, nous ne pouvons donc garder ton alias '$mailorg'.\n\n".
"Tu gardes tout de même l'usage de cet alias pour 1 mois encore à compter de ce jour.\n\n".
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: newsletter.inc.php,v 1.32 2004-11-16 19:45:59 x2000habouzit Exp $
+ $Id: newsletter.inc.php,v 1.33 2004-11-16 21:02:46 x2000habouzit Exp $
***************************************************************************/
define('FEMME', 1);
$mailer = new HermesMailer();
$mailer->setFrom("\"Lettre Mensuelle Polytechnique.org\" <info_newsletter@polytechnique.org>");
$mailer->setSubject($this->title());
- $mailer->addTo("$prenom $nom <$forlife@polytechnique.org>");
+ $mailer->addTo("\"$prenom $nom\" <$forlife@polytechnique.org>");
$mailer->addHeader('Reply-To','info+nlp@polytechnique.org');
$mailer->setTxtBody($this->toText($prenom,$nom,$sex));
if($html) {
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: send_notifs.php,v 1.2 2004-11-16 20:39:08 x2000habouzit Exp $
+ $Id: send_notifs.php,v 1.3 2004-11-16 21:02:47 x2000habouzit Exp $
***************************************************************************/
require('./connect.db.inc.php');
$mailer = new HermesMailer();
$mailer->setFrom("Carnet Polytechnicien <support_carnet@polytechnique.org>");
- $mailer->addTo("{$u['prenom']} {$u['nom']} <{$u['forlife']}@polytechnique.org>");
+ $mailer->addTo("\"{$u['prenom']} {$u['nom']}\" <{$u['forlife']}@polytechnique.org>");
$mailer->setSubject("Notifications de la semaine ".date("W - Y"));
$mailer->setTxtBody($text);
$mailer->send();