Ver Mensaje Individual
  #8 (permalink)  
Antiguo 14/01/2002, 18:41
Avatar de roro
roro
 
Fecha de Ingreso: septiembre-2001
Ubicación: Mexique
Mensajes: 1.632
Antigüedad: 22 años, 7 meses
Puntos: 0
Re: formita manda mails

opppppps
<?php
// All you need to change is the e-mail addy:
// $email = ''; // your e-mail here
// $subject = 'Aqui va el subject del mail';

//foreach ($HTTP_POST_VARS as $var) {
foreach ($HTTP_POST_VARS as $key => $value) {
$subject .= "$key = $value \n";
$email .= "$key = $value \n";
$text .= "$key = $value \n";
}

$from = $HTTP_POST_VARS['name'] . ' ' . $HTTP_POST_VARS['email'];
mail($email,$subject,$text,"From: $from\nReply-To: $from\n");

?>
ok aqui esta
comente las lineas de email y subject porque queria que fueran variables obtenidas de la forma...
solo q el subject no lo lee como tal.
a ver si me dicen como
o en su defecto si tienen un mail forma mas "sencillo"

Trust No One | <a href="http://www.e-roro.net" target="new">e-roro</a> | <a href="https://www.paypal.com/refer/pal=MNKRH8K6ZE4RA" target=new">Inscribete al Paypal</a> | <a href="http://www.my-musik.com" target="new"> My Musik</a> |