
28/08/2007, 02:40
|
| | Fecha de Ingreso: agosto-2007
Mensajes: 345
Antigüedad: 17 años, 6 meses Puntos: 21 | |
Re: Enviar HTML por mail yo envie email html asi: Código PHP: $para="[email protected]";
//Asunto
$asunto="Email enviado desde php";
//Mensaje
$mensaje='
<html>
<head>
<title> Probando email desde php </title>
</head>
<body>
<h1> TITULO EMAIL PHP </h1>
<p> Esto es un email desde php con url </p><br>
<a href="http://www.google.es">google</a><br>
<p> Fin email html con php </p>
</body>
</html>
';
//Cabeceras
$cabeceras = 'MIME-Version: 1.0' . "\r\n";
$cabeceras .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
//Enviar email
mail($para, $asunto, $mensaje, $cabeceras);
|