ho creato questo file
----------------------------
config.php
<body>
<?
$email = "xxxxxx@gmail.com";
$subject = "dati cliente";
?>
</body>
--------------------------------
po questo file
---------------------------------
<body>
sendmail.php
<?
include "config.php";
if ($f_name <> "" and $f_mail <> "" and $f_message <> "") {
mail("$email", "$subject", "From: $nome\nMail: $moss\nMessage: $email\nmessage");
$msg = "Messaggio inviato.";
} else {
$msg = "Occorre compilare tutti i campi.";
}
?>
<? echo $msg; ?></p>
</body>
------------------------------------
poi in fine
il form
----------------------------------
<div id="formtracking">
<form id="form1" name="form1" method="post" action="php/sendmail.php">
<label>Nome
<input type="text" name="Nome" id="Nome"/>
</label>
<label>N°Moss
<input type="text" name="moss" id="N°Moss" />
</label>
<label>Email
<input type="text" name="Email" id="Email" />
</label>
<input type="submit" value="Invia Richiesta" />
</form>
</div>
------------------------------------
aloraaaaaaa
credo che sia tutto
c'è solo un probelimno credo che il problemino sia nel file sendmail.php
.
puoi vedere un secondo , mi sembra lo scripts sia coretto , solo qualche ultima imprfezzione.