I’m sending out an email using CodeIgniter‘s built in library. All I’m trying to do is send a bolded string, but instead of rendering the tags, it is printing them. What I have:
<html>
<head>
</head>
<body>
<b>Donkey</b>
</body>
</html>
That is, character for character, the email I’m getting. Why aren’t the tags rendering?
From the documentation:
The CodeIgniter Email class defaults to sending text emails. Unless you specify that the mailtype is HTML (
$config['mailtype'] = 'html';) your html will be sent out as text.