Encodage des textes plutot que la définition du charset

This commit is contained in:
Michael RICOIS 2010-03-22 14:21:18 +00:00
parent b6c58f9a93
commit 09cc023df3

View File

@ -125,9 +125,10 @@ $emailTxt.= "<b><u>Liste des commandes courrier en attente de chèque</u></b>";
$emailTxt.= "<br/>"; $emailTxt.= "<br/>";
$emailTxt.= listeCmd(1); $emailTxt.= listeCmd(1);
$emailtTxt = utf8_encode($emailTxt);
//Envoi mail //Envoi mail
require_once 'mail/mail.php'; require_once 'mail/mail.php';
$sujet = "[COMMANDES PIECES COURRIER] - ".date('d')."/".date('m')."/".date('Y'); $sujet = "[COMMANDES PIECES COURRIER] - ".date('d')."/".date('m')."/".date('Y');
$from = array( $from = array(
'email' => 'production@scores-decisions.com', 'email' => 'production@scores-decisions.com',
@ -137,6 +138,5 @@ $to = array(0 => array(
'email'=> 'production@scores-decisions.com', 'email'=> 'production@scores-decisions.com',
'name' => 'Pieces')); 'name' => 'Pieces'));
define('CHARSET', 'utf-8');
sendMail($sujet, $emailTxt, $from, $to); sendMail($sujet, $emailTxt, $from, $to);