libman Posted December 28, 2005 Share Posted December 28, 2005 Hi folks, If you go to http://portcityportlandmaine.com/osc/ I have a demo shopping cart. Go ahead and log in and purchase something. You will get an email that is html formatted but I am getting spaces at the top of the html formatted email that goes to the customer. I don't want those spaces. Does anyone have an inkling why those spaces are appearing? Here is the code from the checkout_process.php file that I have modified that produces this html email: ***************************************************** $test .= <<<EOF <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Form Information To Customer From Port City Portland Maine Internet Consulting and Web Design</title> </head> <body bgcolor="#D8E7D3"><img src="http://portcityportlandmaine.com/osc/aded images/oscommerce.gif" width="585" height="147" alt="oscomerce "><br>$email_order </body> </html> EOF; tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $test, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); **************************************************** Thanks for the help, Libman Thanks, Libman Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.