Bug bizonho

Tem um bug do Php que me encheu o saco esses ultimos dias e tava mandando e-mail duplicado.

Para resolver tive que retirar a linha do header que setava o TO:

$headers = “MIME-Version: 1.0\r\n”;
$headers .= “Content-type: text/plain;\r\n”;
$headers .= “From: \”".$nome.”\” <”.strtolower($mail).”>\r\n”;
$headers .= “Subject: “.$assunto.”\r\n”;

Leave a Comment


*


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

View in: Mobile | Standard