Buscas esto?
codigo PHP:
<?
if($_POST[enviar]){
$nombre="$nombre";
$mensaje.="Nombre: $nombre<br>";
$remitente="$mail";
$mensaje.="E-mail: $mail<br>";
$mensaje.="Apodo Solicitado: $apodo";
mail("
[email protected]","Formulario de E-mails", $mensaje, "MIME-Version: 1.0\nContent-type: text/html; charset=UTF-8\nFrom: $nombre < $remitente >");
} else { ?>
Te buscas un formulario y queda..
Formulario HTM
<table width="33%" border="0" align="center" bordercolor="#D4D4D4">
<tr>
<td width="29%">
<p style="margin-top: 0; margin-bottom: 0"><font size="2" style="FONT-SIZE: 8pt"><span class="Estilo8">
<b>Nombre:</b></span></font></td>
<td width="71%">
<p style="margin-top: 0; margin-bottom: 0"><font size="2" style="FONT-SIZE: 8pt">
<label>
<input name="nombre" type="text" id="nombre" size="20">
</label>
</font></td>
</tr>
<tr>
<td>
<p style="margin-top: 0; margin-bottom: 0">
<font size="2" style="FONT-SIZE: 8pt; font-weight:700">E-mail:</font></td>
<td>
<p style="margin-top: 0; margin-bottom: 0"><font size="2" style="FONT-SIZE: 8pt">
<input name="mail" type="text" id="mail" size="20">
</font></td>
</tr>
<tr>
<td>
<p style="margin-top: 0; margin-bottom: 0">
<font size="2" style="FONT-SIZE: 8pt; font-weight:700">
Apodo Solicitado:</font></td>
<td>
<p style="margin-top: 0; margin-bottom: 0"><font size="2" style="FONT-SIZE: 8pt">
<input name="apodo" type="text" id="apodo" size="20">
</font></td>
</tr>
</table>
<div align="center">
<p style="margin-top: 0; margin-bottom: 0"><font size="2" style="FONT-SIZE: 8pt">
<input type="submit" name="enviar" value="Enviar"> | <input type="reset" name="borrar" value="Borrar"> <br>
</font></div>
</form>
<? } ?>
Proba el formulario antes a ver si mas o menos esta bien, OBVIAMENTE X LA HORA QUE ES NO ME PIDAN PROLIJIDAD EN EL FORMATO, FONT, CENTRADO, ETC ETC... =P