<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Problema spam nell'invio di una mail]]></title><description><![CDATA[<p dir="auto">Salve a tutti,</p>
<p dir="auto">devo inviare una mail dal mio sito. Finché metto content-type: text/plain è tutto ok.<br />
Quando invece lo sostituisco con text/html la mail mi va a finire nello spam.<br />
Questo è il codice della mail:</p>
<pre><code class="language-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 &lt;br /&gt;
Riepilogo Dati per l'accesso all'Area Riservata:&lt;br /&gt;
Username: ".$_POST['login']."
&lt;br /&gt;Password: ".$_POST['pass']."&lt;br /&gt;
&lt;a href='link sito&gt;Clicca qui per accedere all'Area Riservata&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
Distinti saluti.&lt;br /&gt;&lt;br /&gt;Il Webmaster";
 
mail($MailTo_pass, $MailSubject_pass, $MailBody_pass, $MailHeader_pass);
</code></pre>
<p dir="auto">E questi sono gli errori segnalati:</p>
<p dir="auto">SUBJ_ALL_CAPS (Subject is all capitals)<br />
NORMAL_HTTP_TO_IP (URI: Uses a dotted-decimal IP address in URL)<br />
HTML_MESSAGE (BODY: HTML included in message)<br />
BAYES_50 (BODY: Bayesian spam probability is 40 to 60%)<br />
MIME_HTML_ONLY (BODY: Message only has text/html MIME parts)<br />
MIME_HEADER_CTYPE_ONLY ('Content-Type' found without required MIME headers)<br />
HTML_MIME_NO_HTML_TAG (HTML-only message, but there is no HTML tag)<br />
RDNS_NONE (Delivered to trusted network by a host with no rDNS)</p>
<p dir="auto">The original message was not completely plain text, and may be unsafe to<br />
open with some email clients; in particular, it may contain a virus,<br />
or confirm that your address can receive spam. If you wish to view<br />
it, it may be safer to save it to a file and open it with an editor.</p>
<p dir="auto">Qualcuno può aiutarmi?<br />
Grazie mille!</p>
]]></description><link>https://dev.connect.gt/topic/118596/problema-spam-nell-invio-di-una-mail</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 05:36:39 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/118596.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 Jan 2010 10:51:30 GMT</pubDate><ttl>60</ttl></channel></rss>