CodeIgniter Forums
SOLVED: Sending Email with html as message in CI4 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: SOLVED: Sending Email with html as message in CI4 (/showthread.php?tid=82000)



SOLVED: Sending Email with html as message in CI4 - seighth - 06-02-2022

This is already solved and I posted a solution on stackoverflow: https://stackoverflow.com/questions/72472989/codeigniter-4-email-sending-with-html-as-message/72473687

I need help using the amail class in CI4 to send it with an html like the one that used to work in CI3
CI3:
$email->message($this->load->view('misc/confirmation_email',$data,true));

_______________________________________________________________

CI4:
$email->setMessage(echo view('misc/confirmation_email',$data,true));


RE: SOLVED: Sending Email with html as message in CI4 - InsiteFX - 06-02-2022

CodeIgniter 4 Send Email Using Custom Template