ESTE ES EL FORMULARIO: ESTE ES UN HTML
<form method=POST action=enviar.php>
Tu nombre:<br>
<input type=text name=tunombre size=20><br>
Tu email:<br>
<input type=text name=tuemail size=20><br>
Nombre de tu amigo:<br>
<input type=text name=nombreamigo size=20><br>
Email de tu amigo:<br>
<input type=text name=emailamigo size=20><br>
<br>
<input type=submit value=Recomendar name=B1></p>
</form>
Y ESTE ES ARCHIVO DE ENVIO: ESTE ES UN PHP
<?
$asunto = "Tu Amigo $tunombre te recomienda lo que quieras";
$mensaje = "Hola ".$nombreamigo.", tu amigo ".$tunombre." te recomienda
que ingreses a DONDE QUIERAS";
mail($emailamigo, $asunto, $mensaje, "From: ".$tuemail);
ECHO "gracias por recomendarnos";
?>
espero que te sirva!