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 ...@@ -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){ public function send_mail($msg,$email,$sub){
$settings = $this->db->get('settings')->row(); $settings = $this->db->get('settings')->row();
$configs = array( $configs = array(
'protocol'=>'smtp', 'protocol'=>'mail',
'smtp_host'=>$settings->smtp_host, 'smtp_host'=>decrypt_data($settings->smtp_host),
'smtp_user'=>$settings->smtp_username, 'smtp_user'=>decrypt_data($settings->smtp_username),
'smtp_pass'=>$settings->smtp_password, 'smtp_pass'=>decrypt_data($settings->smtp_password),
'smtp_port'=>'587', 'smtp_port'=>25,
'smtp_timeout'=>20, 'smtp_timeout'=>20,
'mailtype' => 'html', 'mailtype' => 'html',
'charset' => 'iso-8859-1', '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