appending array of data to the message parameter of send_email() |
[eluser]zac[/eluser]
You need to build your message separately, then pass it in to send_email(). Something like this: Code: if($_POST) { Or if building your message directly in the function is too awkward, use a view as a template. Setting the third argument to 'true' returns the parsed view instead of rendering it: Code: $msg = $this->load->view('email-message',$data,true); |
Messages In This Thread |
appending array of data to the message parameter of send_email() - by El Forum - 11-12-2010, 02:57 PM
appending array of data to the message parameter of send_email() - by El Forum - 11-12-2010, 03:25 PM
appending array of data to the message parameter of send_email() - by El Forum - 11-12-2010, 04:06 PM
appending array of data to the message parameter of send_email() - by El Forum - 11-14-2010, 06:42 PM
|