Welcome Guest, Not a member yet? Register   Sign In
How to send an email with content from a View Ci4
#1

When I use Ci3, I can use the script for send email with content from view like this :
Code:
$msg = $this->load->view('register/V_reset_password', $data, true);
$this->email->message($msg);

But in Ci4 that script cannot be used. I have to try like this and getting error :
Code:
$message = view('register/V_reset_password', $data, true);
$email->setMessage($message);
Please help to tell me what is a new code for send an email with content from view Ci4 ?
Thank you..

Reply


Messages In This Thread
How to send an email with content from a View Ci4 - by naldi - 09-26-2021, 11:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB