Commit 966247ba by Jansa Jose

mail

parent 0fac2c51
...@@ -343,12 +343,12 @@ function send_mail($msg,$email,$sub) ...@@ -343,12 +343,12 @@ function send_mail($msg,$email,$sub)
$host = $smtp_host; $host = $smtp_host;
$pass= $smtp_password; $pass= $smtp_password;
$username = $smtp_username; $username = $smtp_username;
$config['protocol'] = 'mail'; $configs['protocol'] = 'mail';
$config['smtp_host'] = $host; $configs['smtp_host'] = $host;
$config['smtp_user'] = $username; $configs['smtp_user'] = $username;
$config['smtp_pass'] = $pass; $configs['smtp_pass'] = $pass;
$config['smtp_port'] = 25; $configs['smtp_port'] = 25;
$config['mailtype'] = 'html'; $configs['mailtype'] = 'html';
$CI->load->library('email', $configs); $CI->load->library('email', $configs);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment