HTML visible in email

HI



I’m running 2.1.1, when the system sends a notification email the message shows the HTML from the templates (they are unedited).



Example of the email sent below, I’ve tried sendmail and php mail, both send fine apart from format.



Does anyone have any suggestions please?



Thanks





Lee


<br />
<br />
--b1_12333b214d5e806429ac58324868e2fa<br />
Content-Type: text/html; charset = "utf-8"<br />
Content-Transfer-Encoding: 8bit<br />
<br />
                                                   <br />
          <br />
<html><br />
<head><br />
<br />
<style><br />
<br />
.form-title	{<br />
	background-color: #ffffff;<br />
	color: #141414;<br />
	font-weight: bold;<br />
}<br />
<br />
.form-field-caption {<br />
	font-style:italic;<br />
}<br />
<br />
.table-row {<br />
	background-color: #f1f3f7;<br />
}<br />
<br />
.table-head {<br />
	background-color: #bbbbbb;<br />
}<br />
<br />
</style><br />
</head><br />
<body><br />
Dear Lee,<br /><br /><br />
<br />
Your order has been processed successfully.<br /><br /><br />

Just to update this, I modified my profile and the update notification for that was fine, so this does seem to be something else



Thanks



Lee

Lee, this happens because the mail is being received in text instead of HTML. Meaning you need to set up how you receive your mail if you can.

Hi



I do realise that



Is this because CS Cart is not adding the correct type for the email? Surely it should be text/html not multipart/related or something?



Any suggestion on how to resolve it, again the mail templates are untouched





Thanks





Lee

OK



I had a rummage through the source and couldn’t really find anything, I decided to try SMTP rather than sendmail or phpmail and the mails come through correctly now



I’d suggest this could do with fixing, I’d rather use phpmail to save configuration





Thanks





Lee