Welcome Guest, Not a member yet? Register   Sign In
Parser, HTML visible and Email
#1

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
Reply


Messages In This Thread
Parser, HTML visible and Email - by ryanUGLE - 06-15-2020, 07:24 AM
RE: Parser, HTML visible and Email - by ryanUGLE - 06-16-2020, 01:17 AM
RE: Parser, HTML visible and Email - by jayson.s - 12-08-2020, 11:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB