Hello.
I created a simple php mail() function with attach. The problem is that I´m receiving the mails as spam, I already tried everything, maybe somebody could give me a help, my headers:
$remetente = "$nickuser"."@yachtbrasil.com.br";
$nome_resposta = "$nickuser";
$headers = "MIME-Version: 1.0".$eol;
$headers .= "From: $nome_resposta <$remetente>".$eol;
$headers .= "Reply-To: $nome_resposta <$remetente>".$eol;
$headers .= "Return-Path: $nome_resposta <$remetente>".$eol;
$headers .= "Content-type: multipart/mixed; boundary=\"$mime_boundary\"".$eol;
$headers .= "Message-ID: <".$now." TheSystem@".$_SERVER['SERVER_NAME'].">".$eol;
$headers .= "X-Mailer: PHP v".phpversion().$eol;
Thanks!