par
Devether » 01 juin 2006, 01:41
si si tu as bien compris ma question mais j'avais deja fait comme tu as dis et quand j'ai voulu envoyé un mail a "
[email protected]" il n'y a rien qui m'est revenu (ça fait deja 3 jours)
je ne sais pas si ça va aidé mais voila mon code:
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: xxx <[email protected]>' . "\r\n";
$headers .= 'Reply-To: xxx <[email protected]>' . "\r\n";
while ($nl_listmail = mysql_fetch_array($ret_listmail)) {
$to = $nl_listmail['mail'];
mail($to, $subject, $message, $headers);
}
le truc basic quoi

si si tu as bien compris ma question mais j'avais deja fait comme tu as dis et quand j'ai voulu envoyé un mail a "
[email protected]" il n'y a rien qui m'est revenu (ça fait deja 3 jours)
je ne sais pas si ça va aidé mais voila mon code:
[php]$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: xxx <
[email protected]>' . "\r\n";
$headers .= 'Reply-To: xxx <
[email protected]>' . "\r\n";
while ($nl_listmail = mysql_fetch_array($ret_listmail)) {
$to = $nl_listmail['mail'];
mail($to, $subject, $message, $headers);
}[/php]
le truc basic quoi :?