Hi, The following code will work, this functionality is use the external html content as email body. And send mails with neatly formatted html content using simple php mailer class.
$mail->Timeout = 360;
$mail->From = "";
$mail->FromName = "";
$mail->Subject = "Html as email";
$file = fopen("email.html","r");
$str = trim($str);
$mail->Body = $str;
Then it will send the external html file as email body.
But be sure that in the html file all images should be full path. like:
It will be helpful.