Merge branch 'jansa'
Showing
... | ... | @@ -309,7 +309,7 @@ function send_mail($msg,$email,$sub) |
$settings = $CI->db->get('settings')->row(); | ||
/*$settings = $CI->db->get('settings')->row(); | ||
//print_r($msg);die(); | ||
... | ... | @@ -335,8 +335,20 @@ function send_mail($msg,$email,$sub) |
'wordwrap' => TRUE | ||
); | ||
); */ | ||
$smtp_host = "techlabz.in"; | ||
$smtp_password = 'Golden_123'; | ||
$smtp_username = "[email protected]"; | ||
//print_r($smtp_username); | ||
$host = $smtp_host; | ||
$pass= $smtp_password; | ||
$username = $smtp_username; | ||
$config['protocol'] = 'mail'; | ||
$config['smtp_host'] = $host; | ||
$config['smtp_user'] = $username; | ||
$config['smtp_pass'] = $pass; | ||
$config['smtp_port'] = 25; | ||
$config['mailtype'] = 'html'; | ||
$CI->load->library('email', $configs); | ||
... | ... | @@ -349,7 +361,7 @@ function send_mail($msg,$email,$sub) |
->from($settings->admin_email, 'Ipok') | ||
->to($email) | ||
->to('[email protected]') | ||
->subject($sub) | ||
... | ... | @@ -357,6 +369,8 @@ function send_mail($msg,$email,$sub) |
$CI->email->send(); | ||
} | ||
... | ... |
Please
register
or
sign in
to comment