Welcome Guest, Not a member yet? Register   Sign In
Sending html email and using static template
#2

I'd just create a view, and then use
PHP Code:
$data['image1'] = 'some_image.jpg';
$this->email->message($this->load->view('view_file'$dataTRUE)); //set the content of the email message to the rendered view 
to send dynamic data to the view and retrieve the rendered view file so you can output it in the email.
Reply


Messages In This Thread
RE: Sending html email and using static template - by CroNiX - 04-27-2015, 02:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB