Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/04/2005, 18:49
Avatar de Gabriel0702
Gabriel0702
 
Fecha de Ingreso: febrero-2005
Mensajes: 155
Antigüedad: 19 años, 2 meses
Puntos: 0
Código de ejemplo

Ok, te envío el código, es un ejemplo muy sencillo, lo adecúas de acuerdo a tus necesidades:

Código PHP:
<?php
mail
("[email protected]""Mi Asunto""Linea 1\nLinea 2\nLinea 3");
?> 
<?php
$Mensaje
='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or
g/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Documento sin t&iacute;tulo</title>
</head>

<body>
esta es una <strong>prueba</strong> de <em>algo</em>
</body>
</html>'
;
mail("[email protected]""Página"$Mensaje,
     
"From: \"C. Gabriel Varela Sauceda\" <[email protected]>\r\n" .
     
"Reply-To: <[email protected]>\r\n" .
     
"Content-Type: text/html; charset=ANSI_X3.4-1968\r\n" .
     
"Content-Transfer-Encoding: quoted-printable\r\n" .
     
"charset: iso-8859-1\r\n" .
     
"X-Mailer: Wash & Doro Software" .
     
"");
?>
Espero que te sirva, Bye.