Prueba con esto :
Código HTML:
Ver original<form id="freeform" name="a" method="post" action="enviarmail.php" > <label id="freeform_name_label" for="name">Nombre
</label> <input type="text" id="freeform_name" name="name" /> <label id="freeform_email_label" for="email">Email
</label> <input type="text" id="freeform_email" name="email" /> <label id="freeform_subject_label" for="subject">Asunto
</label> <input type="text" id="freeform_subject" name="subject" /> <label id="freeform_topic_label" for="topic[]">Tema
</label> <select name="topic" id="freeform_topic" /> <option value="Oferta de producto">Oferta de producto / negocio
</option> <option value="Propuesta de ideas">Propuesta de ideas
</option> <option value="Solicitud de Newsletters">Solicitud de Newsletters
</option> <label id="freeform_question_label" for="question">Cuesti
ón
</label> <input type="submit" id="submit" name="submit" class="button large" value="Enviar Mensaje >" />
Código PHP:
Ver original<?
$name = $_POST['name'];
$email = $_POST['email'];
$asunto = $_POST['subject'];
$topic = $_POST['topic'];
$question=$_POST['question'] ;
$header = 'From: ' . $email . " \r\n";
$header .= "X-Mailer: PHP/" . phpversion() . " \r\n"; $header .= "Mime-Version: 1.0 \r\n";
$header .= "Content-Type: text/plain";
$asunto = 'Correo desde la web';
$mensaje = "Nombre: " . $name. " \r\n";
$mensaje .= "E-mail: " . $email . " \r\n";
$mensaje .= "Motivo: " . $topic . " \r\n";
$mensaje .= "Cuestion: " .$question. " \r\n";
echo 'Su solicitud ha sido enviada con éxito. En breve recibirá noticias de XXX atendiendo su petición. Muchas gracias.'
?>