=1)){ if(chkEmail($strEmailUser)){ }else{ $strMessaggio = "ATTENZIONE. Indirizzo email errato"; $intErrore = 1; } } if($intErrore==0){ $a = $strEmail; $oggetto = "Richiesta Informazioni Corsi Vendita Auto da LFD Automobile"; $messaggio = "

Richiesta inviata da: " .$strNomeCognome. ".
\nProfessione:".$strProfessione."\n
eMail:".$strEmailUser."\n
Telefono:".$strTelefono."\n
Lavora nel campo: ".$strLavoraNelleAuto." - Da: ".$intPeriodo." ".$strAnniMesi."
\nOpera nell'Import-Export: ".$strOperatoreIE."-------- FINE MESSAGGIO --------

"; //$header = "From:".$strNomeMittente." <".$strEmail.">\n"; $header = "From: ".$strEmailUser."\n"; $header .= "Reply-To: <".$strEmailUser.">\n"; $header .= "X-Mailer: PHP/" . phpversion(); $header .= "MIME-Version: 1.0\n"; $header .= "Content-Type: text/html; charset=\"utf-8\"\n"; mail($a, $oggetto, $messaggio, $header); $a = $strEmailUser; $oggetto = "CONFERMA INVIO RICHIESTA INFO CORSI A LFD Automobile"; $messaggio = "

Buongiorno " .$strNomeCognome. ".
La tua richiesta è stata inviata a LFD Automobile. Ti sarà risposto nel minor tempo possibile.
Cordiali saluti.
-------- FINE MESSAGGIO --------

"; $header = "From:".$strEmail.">\n"; $header .= "Reply-To: <".$strEmail.">\n"; $header .= "X-Mailer: PHP/" . phpversion(); $header .= "MIME-Version: 1.0\n"; $header .= "Content-Type: text/html; charset=\"utf-8\"\n"; mail($a, $oggetto, $messaggio, $header); echo("Richiesta inviata con successo!
\n"); } } ?>

Compila il Form di e clicca sul pulsante.