- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
function email($from, $to, $subject, $message)
{
$ci =& get_instance();
$config['mailtype'] = 'html';
$ci->load->library('email', $config);
$ci->email->clear();
$ci->email->from($from);
$ci->email->to($to);
$ci->email->subject($subject);
$ci->email->message($message);
$ci->email->send();
}