had someone post this idea to me, mostly cause some mail apps not renderin HTML....
you may just send a HTML email with your checkout page (or just a part of that page) to your customer.
#################################
<?php
// Build the HTML document $htmlDoc for your checkout page and kkep the part of the page you want to send as $htmlEmail. ($htmlEmail just contain the information needed for the invoice)
// send the email
$to = "customer@domain.com";
$from = "webmaster@sitedomain.com";
$subject = "Invoice";
$body = "Thanks! Here is blablablabla... $htmlEmail I hope you blablablabla";
$headers="Content-Type:text/html;CHARSET=iso-8859-8-i\r\n";
$headers.="From:".$from."\r\n";
mail($to, $subject, $body, $headers);
// send the checkout page to the customer browser
echo $htmlDoc
?>
the only thing is I don't know I would store the pages as variables, can anyone catch and possibly expand what he is trying to explain for the $htmlDoc $htmlEmail and how to declare those.