- Home
- Categorie
- Coding e Sistemistica
- Coding
- Problema spam nell'invio di una mail
- 
							
							
							
							
							Problema spam nell'invio di una mailSalve a tutti, devo inviare una mail dal mio sito. Finché metto content-type: text/plain è tutto ok. 
 Quando invece lo sostituisco con text/html la mail mi va a finire nello spam.
 Questo è il codice della mail:[php] 
 $MailTo_pass = $_POST[mail];
 $MailSubject_pass = "REGISTRAZIONE SDB.ORG";
 $MailHeader_pass = "From: email\nX-Mailer: PHP;\nReplyTo: email\nReturn-Path:email\nContent-Type: text/html; charset=utf-8";$MailBody_pass = "Il Webmaster ha registrato i suoi dati sul sito <br /> 
 Riepilogo Dati per l'accesso all'Area Riservata:<br />
 Username: ".$_POST['login']."
 <br />Password: ".$_POST['pass']."<br />
 <a href='link sito>Clicca qui per accedere all'Area Riservata</a><br /><br />
 Distinti saluti.<br /><br />Il Webmaster";mail($MailTo_pass, $MailSubject_pass, $MailBody_pass, $MailHeader_pass); 
 [/php]E questi sono gli errori segnalati: SUBJ_ALL_CAPS (Subject is all capitals) 
 NORMAL_HTTP_TO_IP (URI: Uses a dotted-decimal IP address in URL)
 HTML_MESSAGE (BODY: HTML included in message)
 BAYES_50 (BODY: Bayesian spam probability is 40 to 60%)
 MIME_HTML_ONLY (BODY: Message only has text/html MIME parts)
 MIME_HEADER_CTYPE_ONLY ('Content-Type' found without required MIME headers)
 HTML_MIME_NO_HTML_TAG (HTML-only message, but there is no HTML tag)
 RDNS_NONE (Delivered to trusted network by a host with no rDNS)The original message was not completely plain text, and may be unsafe to 
 open with some email clients; in particular, it may contain a virus,
 or confirm that your address can receive spam. If you wish to view
 it, it may be safer to save it to a file and open it with an editor.Qualcuno può aiutarmi? 
 Grazie mille!