<?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[conferma invio mail contatto]]></title><description><![CDATA[<p dir="auto">salve navigando ho trovato un form contatto responsive funziona ma quando l'utente invia tramite la pagina contatti invia la mail ma non gli appare la conferma della mail inviata con successo  chiedo aiuto grazie posto il codice  se possibile inserire un anti spam con la somma dei numeri tipo quanto fa 2+2 ?  grazie mille per l'aiuto</p>
<p dir="auto">&lt;?php<br />
// the E-Mail address that you want to recieve the message on.<br />
$to_email = 'info@fcfclean.it';<br />
if (isset($_POST)) {<br />
// recieve the form variables and secure them<br />
$name = trim(strip_tags(addslashes($_POST['name'])));<br />
$email = trim(strip_tags(addslashes($_POST['email'])));<br />
if (!empty($_POST['subject'])) {<br />
$subject = trim(strip_tags(addslashes($_POST['subject'])));<br />
} else {<br />
$subject = 'Message From Contact Form';<br />
}<br />
$message = trim(strip_tags(addslashes($_POST['message'])));<br />
// validate the form<br />
if (empty($name)) {<br />
echo 0;<br />
} elseif (empty($email)) {<br />
echo 0;<br />
} elseif (empty($message)) {<br />
echo 0;<br />
} else {<br />
// the message headers<br />
$headers = "From: " . strip_tags($email) . "\r\n";<br />
$headers .= "Reply-To: ". strip_tags($email) . "\r\n";<br />
$headers .= "MIME-Version: 1.0\r\n";<br />
$headers .= "Content-Type: text/html; charset=UTF-8\r\n";<br />
// submitting the message using PHP mail() function<br />
$send = mail($to_email, $subject, $message, $headers);<br />
if ($send) {<br />
echo 1;<br />
} else {<br />
echo 0;<br />
}<br />
}<br />
}<br />
?&gt;</p>
]]></description><link>https://dev.connect.gt/topic/218626/conferma-invio-mail-contatto</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 22:20:57 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/218626.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 31 Oct 2015 20:44:39 GMT</pubDate><ttl>60</ttl></channel></rss>