Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/08/2008, 15:12
NVill
 
Fecha de Ingreso: enero-2008
Mensajes: 11
Antigüedad: 16 años, 4 meses
Puntos: 0
El nombre y el asunto en el correo en la bandeja de entrada, no dentro del correo

Hola chicos como andan?
Tengo un problemilla
Tengo este codigo en php

<?php
//$mailer define la dirección a la que sera enviado el e-mail
$mailer="[email protected]";
//Definimos las cabeceras
$cabeceras = "MIME-Version: 1.0\r\n";
$cabeceras ="Content-type: text/html; charset=iso-8859-1\r\n";//"text/html; charset=iso-8859-1";
//a continuación enviamos el mensaje
mail($mailer, $_POST["subject"], "Nombre: ".$_POST["nombre"]."\nE-Mail: ".$_POST["email"]."\nAsunto: ".$_POST["subject"]."\nMensaje: ".$_POST["mensaje"].", \n$cabeceras , \nDirección IP: ".getenv("REMOTE_ADDR").", \nFecha: ".date("d/M/y h:i:s")." \n");
//puedes encontrar más scripts como este en http://proyects.lamejorweb.uni.cc
?><title>La Guatana</title>

<link href="typo.css" rel="stylesheet" type="text/css">
<body bgcolor="#d8d9c4"><p align="center">&nbsp;</p>
<table width="804" height="536" align="center" cellpadding="0" cellspacing="0" class="f07_galeria">
<!--DWLayoutTable-->
<tr>
<td width="802" height="200"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="200">
<param name="movie" value="bs_contacto.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="bs_contacto.swf" width="800" height="200" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object></td>
</tr>
<tr>
<td height="334"><table width="802" height="347" cellpadding="0" cellspacing="0">
<tr>
<td width="375" height="339"><table width="375" height="251" cellpadding="0" cellspacing="0">
<tr>
<td width="373" height="249">&nbsp;</td>
</tr>
</table></td>
<td width="425"><table width="417" height="95%" align="left" cellpadding="0" cellspacing="10" bgcolor="#d8d9c4">
<tr>
<td height="42" valign="bottom" class="titulo_grande">Contacto</td>
</tr>
<tr>
<td height="239" align="left" valign="middle" class="intro_tx"><p align="center" class="intro_tx"><font color="#8A713C" size="2">Tu Mensaje
ha sido recibido...</font></p>
<p align="center" class="style1"><span class="intro_tx"><font color="#8A713C" size="2">Gracias </font></span><font color="#8A713C" size="2"><?php echo $_POST["nombre"]; ?> <span class="intro_tx">por comunicarte con</span></font></p>
<p align="center" class="intro_tx"><font color="#8A713C" size="2">Caba&ntilde;a La Guatana.</font></p></td>
</tr>
</table> <p align="center">&nbsp;</p>
</td>
</tr>
</table></td>
</tr>
</table>
<table width="800" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="23"><div align="right">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="25">
<param name="movie" value="bt_c.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="bt_c.swf" width="800" height="25" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</div></td>
</tr>
</table>
<p align="left">&nbsp;</p>
<p align="right">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="left">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="left">&nbsp;</p>

Y el formulario con sus respectivos nombres de variable que corresponen a este php. El formulario y el código funcionan perfecto, el único problemilla es que quisiera que el asunto y el nombre no aparezcan dentro del mail (en mi servidor) sino que quisiera que el asunto y el nombre aparezcan en el mismo correo en la bandeja de entrada, como aparece en hotmail o yahoo, en mi servidor aparece ASUNTO [SIN ASUNTO] y el asunto aparece dentro del mismo mail donde dice "Asunto: Crear formulario" pero a mi me gustaria q aparezca en la bandeja de entrada y lo mismo me gustaria q pase con el nombre. Como lo puedo arreglar?

Gracias se que algún alma caritativa q sepa mucho más que yo me va ayudar! Porfavor!
Gracias!