I eventually figured it out by trial and error and ended up with something similar to what you had.
[$mail_message = '<html>Hello,<br>
Thanks for choosing xyz. This email confirms that your order has been successfully
submitted and has been received by us, please read it carefully and save it for
<strong><font size="5">Order Details:<br>
Customer ID :</html>';
Date : </html>';
I now have the script working and mailing out very nicely formated messages. The only problem is that there is some problem with the content type I think?
I'm using this:
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
mail($to, $subject, $mail_message, $headers);
Outlook displays the message but when you reply it won't display the whole message below you reply.
Maybe I need additional or new headers?:
$headers .= "Content-Type: multipart/mixed; boundary=\"$boundary\"";
$boundary = '-----=' . md5( uniqid ( rand() ) );
What do you think?
I think more trial and error is the call!
OH yer, What does the 'Email from PHP' do in your mail command
mail('firstname.lastname@example.org', 'Email from PHP', $message, 'From: email@example.com');