Commit 03124222 by Jansa Jose

ail app

parent 83a0a42a
......@@ -3735,11 +3735,11 @@ CASE when tbl_doctors.gender='0' then 'MALE' when tbl_doctors.gender='1' then 'F
public function send_mail($msg,$email,$sub){
$settings = $this->db->get('settings')->row();
$configs = array(
'protocol'=>'smtp',
'smtp_host'=>$settings->smtp_host,
'smtp_user'=>$settings->smtp_username,
'smtp_pass'=>$settings->smtp_password,
'smtp_port'=>'587',
'protocol'=>'mail',
'smtp_host'=>decrypt_data($settings->smtp_host),
'smtp_user'=>decrypt_data($settings->smtp_username),
'smtp_pass'=>decrypt_data($settings->smtp_password),
'smtp_port'=>25,
'smtp_timeout'=>20,
'mailtype' => 'html',
'charset' => 'iso-8859-1',
......
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