Muchas gracias por vuestras repuestas,
Estoy usando phpmailer y en el cuerpo del mensaje incluyo el archivo html
Código PHP:
$numero_boletin=$_POST["numero_boletin"];
if (file_exists("$numero_boletin.html")) {
$cuerpo = "$numero_boletin.html"; }
else { $cuerpo="no"; }
//código necesario para el envio del email con PHP
$destinatario = "correo";
$responder= "correo";
$remitente= "remitente";
$mensaje = "<html>
<head> </head>
<body>VARIABLE = ".include($cuerpo);."</body>
</html>";
include_once("../phpmailer/class.phpmailer.php");
$mail = new PHPMailer();
$mail->Host = "localhost";
// Introducimos la información del remitente del mensaje
$mail->From = $responder;
$mail->FromName = $remitente;
$mail->AddReplyTo($responder,$remitente);
$mail->AddAddress($destinatario);
// Establecemos los parámetros del mensaje: ancho y formato.
$mail->WordWrap = 50; // ancho del mensaje
$mail->IsHTML(true); // enviar como HTML
// Añadimos el mensaje: asunto, cuerpo del mensaje en HTML
$mail->Subject = "ASUNTO EMAIL";
$mail->Body = $mensaje;
$mail->Send();
El archivo html contiene lo siguiente:
Cita: Prueba de texto e imagen:
<br>
<img src='http://...cabecera.jpg'>
Pero no envia nada.