<?php // Essa função é minha hein.... =P function textToCode($textTo){ $Text = array("á","Á","ã","Ã","â","Â","à","À","é","É","ê","Ê","í","Í","ó","Ó","õ","Õ","Ô","ú","Ú","ü","Ü","ç","Ç",">","<","ˆ","Ëœ","¨","´","\"","“","â€","‘","’","‹","›","«","»","º","ª","–","—","","¯","…","¦","•","¶","§","©","®","â„¢","£","¢","€","¥","¤","¹","²","³","½","¼","¾","±","-","×","÷","/","‰","Ëœ","=","=","=","·","ô"); $Ascii = array("á","Á","ã","Ã","â","Â","à","À","é","É","ê","Ê","í","Í","ó","Ó","õ","Õ","Ô","ú","Ú","ü","Ü","ç","Ç",">","<","ˆ","˜","¨","&cute;",""","“","”","‘","’","‹","›","«","»","º","ª","–","—","­","¯","…","¦","•","¶","§","©","®","™","£","¢","€","¥","¤","¹","²","³","½","¼","¾","±","−","×","÷","⁄","‰","≈","≡","≤","≥","·","ô"); $textTo=str_replace($Text,$Ascii,$textTo); return $textTo; } $v_nome = textToCode($_POST['txtNome']); $v_end = textToCode($_POST['txtEndereco']); $v_email = textToCode($_POST['txtEmail']); $mens .= "Nome: ".$v_nome." \n"; $mens .= "Endereço: ".$v_end." \n"; $mens .= "Email: ".$v_email." \n"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=utf8\r\n"; $envia = mail($email_dest, "Contato", $mens,"From:".$v_email."\r\nBcc:".$v_email);
tenta ae...
se não der certo...é só avisar...^^
[ ] 's