Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/07/2002, 10:08
MikiBroki
 
Fecha de Ingreso: abril-2002
Mensajes: 1.014
Antigüedad: 22 años
Puntos: 8
Re: Como enviar email con php

Pues nada, creas el formulario:

...

<form name="form1" action="file.php" method="post">

<input type="text" name"txtEmail">

<input type="submit" name="btnEnviar">

</form>

...

y en file.php:

...

<?
if ($btnEnviar)
{
mail($txtEmail,"tema del mensaje","Hola, qué tal, soy el mensaje");
}
?>


...