Ciao a tutti...
ho un problema... invio un email in automatico con la funzioncina mail(), formata da un immagine e da poche righe di testo... e il mio filtro anti-spam (come credo altri) la individuano come spam! ecco il resocondo del filtro:
pts rule name description
---- ---------------------- --------------------------------------------------
0.1 HTML_60_70 BODY: Message is 60% to 70% HTML
0.0 HTML_MESSAGE BODY: HTML included in message
0.1 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
2.2 HTML_IMAGE_ONLY_02 BODY: HTML: images with 0-200 bytes of words
0.7 MIME_HTML_NO_CHARSET RAW: Message text in HTML without charset
0.4 DATE_IN_PAST_12_24 Date: is 12 to 24 hours before Received: date
1.9 MIME_HEADER_CTYPE_ONLY 'Content-Type' found without required MIME headers
Ed ecco gli headers che uso:
$headers = "From: Miosito.it <miosito@miosito.it>\nReply-To: miosito@miosito.it\nContent-Type: text/html\n";
Il corpo del messaggio è html... ed ho specificato le seguenti intestazioni:
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">
<META http-equiv=Content-Type content=\"text/html; charset=iso-8859-1\">
Cosa devo aggiungere o togliere per far passare l'email?
Gracias...