Im dealing with a bit of a problem. I have a WYSIWYG editor saving its data to a column in my database. Unfortunately the data is being stripped from the tags, so it looks something similiar to this:
'Hello<br><br>'
Although theres no problem initiliazing this data into the WYSIWYG editor once again, but when i e-mail the data it recognizes the tags as text rather than HTML.
This is how i send:
$this->load->library('email');
$this->email->initialize($config);
...
$this->email->send();
When the email is received it is as if the client ignores the HTML tags.
The content-type in the email which is received
Content-Type: multipart/alternative; boundary=B_ALT_507c2c67f1aa7
Before sending, run the body part of the email through html_entity_decode()
It will replace entities like
<>with their applicable characters like<>.