Issue with HTML generated from CI Email class |
[eluser]chamil sanjeewa[/eluser]
this code is working fine $this->load->library('email'); $this->load->library('parser'); $this->email->clear(); $config['mailtype'] = "html"; $this->email->initialize($config); $this->email->set_newline("\r\n"); $this->email->from('[email protected]', 'Website'); $list = array('[email protected]', '[email protected]'); $this->email->to($list); $data = array(); $htmlMessage = $this->parser->parse('messages/email', $data, true); $this->email->subject('This is an email test'); $this->email->message($htmlMessage); if ($this->email->send()) { echo 'Your email was sent, thanks chamil.'; } else { show_error($this->email->print_debugger()); } |
Messages In This Thread |
Issue with HTML generated from CI Email class - by El Forum - 03-31-2008, 08:55 PM
Issue with HTML generated from CI Email class - by El Forum - 03-31-2008, 09:43 PM
Issue with HTML generated from CI Email class - by El Forum - 10-20-2008, 08:28 PM
Issue with HTML generated from CI Email class - by El Forum - 05-13-2009, 12:00 AM
Issue with HTML generated from CI Email class - by El Forum - 06-29-2009, 03:17 AM
Issue with HTML generated from CI Email class - by El Forum - 06-29-2009, 06:35 AM
Issue with HTML generated from CI Email class - by El Forum - 08-16-2009, 05:33 PM
Issue with HTML generated from CI Email class - by El Forum - 08-16-2009, 09:43 PM
Issue with HTML generated from CI Email class - by El Forum - 08-17-2009, 12:47 AM
Issue with HTML generated from CI Email class - by El Forum - 11-01-2010, 05:25 PM
Issue with HTML generated from CI Email class - by El Forum - 02-23-2011, 04:31 AM
|