Here is the answer by steve about "send an html page by e-mail"
Author: Steve Yelvington
Date: 2001-03-10 10:53:46
Subject: RE: Send HTML page with php
Read the page into a variable using fopen/fread or file/implode.
Call the mail() function, passing an additional email header to set the content type to text/html. The content type is what tells the mail viewer how to display the data.
$myfile = implode('',file('foo.html'));
$myheaders = 'From: foo@bar.com\nContent-type: text/html\n';
$recipient = 'somebody@somewhere.com';
$subject = 'This is HTML mail';
mail($recipient, $subject, $myfile, $myheaders);
?>
my questions is, in this way, the images in foo.html will be live links.
how can i instead of use the live links, covert the image into binary codes and send it out within the content of the e-mail, just like i use the internet explorer " send page by e-mail", so the recipient can re-read the e-mail with images off-line.
this questions was asked a year ago by paul, and i cannot find the answer for that on this forum.
thanks.
Hui
hui@ecreative.ca