Ver Mensaje Individual
  #5 (permalink)  
Antiguo 01/06/2005, 13:47
sebtev
 
Fecha de Ingreso: enero-2004
Ubicación: Salto
Mensajes: 484
Antigüedad: 20 años, 3 meses
Puntos: 2
Código PHP:
$para  $_POST['mail'];
$asunto "www.legasa.info";
$mensaje '
<html>
<head>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<TITLE>tu sitio</TITLE>
<style type="text/css">
A{TEXT-DECORATION:none}
A:hover{COLOR:#000000}
body{scrollbar-3dlight-color:#9C9C9B;scrollbar-darkshadow-color:#82BCDA;scrollbar-highlight-color:#9C9C9B;scrollbar-shadow-color:#9C9C9B;scrollbar-arrow-color:#252525;scrollbar-face-color:#E2E2E0;scrollbar-track-color:#F3F3F3;}
</style>
</head>
<body >
<table width="680" border="1" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="center">
Mi mensaje a enviar
</td></tr></table>
</body>
</html>
'
;
$cabeceras "Date: ".date("l j F Y, G:i")."\r\n"
$cabeceras .= "MIME-Version: 1.0\r\n";
$cabeceras .= "Content-type: text/html; charset=iso-8859-1\r\n";
$cabeceras .= "From: Mi correo <[email protected]>\r\n";
$cabeceras .= "Reply-To: [email][email protected][/email]\r\n";
$cabeceras .= "To: ".$_POST['nombre']." ".$_POST['titulo']." <".$_POST['mail'].">\r\n";
$cabeceras .= "Cc: [email][email protected][/email]\r\n"//en esta cabecera es donde mandas una copia del correo a tu dirección del sitio.
$cabeceras .= "Return-path: [email][email protected][/email]\r\n";
mail($para$asunto$mensaje$cabeceras) or die(__LINE__); 
Saludos cuidate
__________________
Dios dira que esto no es justo, pero lo sera...