Hello,
I have a series of templates set up in my view directory.
When sending an email, i load the template by:
PHP Code:
$message = $parser->setData($data)->parse($template_name);
I then send that to an email wrapper which does the same task, only with
PHP Code:
$data[
...
'content' => $message
]
When sending the email (with mail_type = 'html') I receive all the text (HTML tags and all).
When printing the email (to see what would be sent), $message displays tags.
I am obviously using this wrong or missing something, i'm having trouble where i'm messing it up.
Thanks, Ryan