Ver Mensaje Individual
  #5 (permalink)  
Antiguo 21/06/2010, 15:21
extruendorojo
 
Fecha de Ingreso: marzo-2010
Mensajes: 7
Antigüedad: 14 años, 1 mes
Puntos: 0
Respuesta: formulario radio button a distintos emails

modifique $message por $email, pero aun no logro el objetivo.

Código:
<?Php
if (isset($_POST["txtcemail"])){
	$to = '[email protected]';
	$subject = 'Consulta ';
	$message = "<b>Hola </b>, <br><br> {$_POST["txtcnombre"]}</b>, <br> tiene una consulta y escribe desde: {$_POST["txtcemail"]}<br>Telefono: {$_POST["txtcfono"]}<br>Comentario: {$_POST["txtccomentario"]}";
	$email .= $_POST["seleccion"];
	$headers = "From:[email protected]\r\n".
	       'X-Mailer: PHP/' . phpversion() . "\r\n" .
		   "MIME-Version: 1.0\r\n" .
		   "Content-Type: text/html; charset=utf-8\r\n" .
		   "Content-Transfer-Encoding: 8bit\r\n\r\n";
	// Send
	mail($email, $to, $subject, $message, $header);
	header("Location: http://miweb.com/");
}
?>
que podria estas pasando?