change mail settings in webservicemodel
Showing
... | ... | @@ -190,17 +190,17 @@ function get_cars_details(){ |
if ($query) { | ||
$settings = get_settings(); | ||
$this->load->library('email'); | ||
$config = Array( | ||
'protocol' => 'mail', | ||
'smtp_host' => 'techlabz.in', | ||
'smtp_host' => $settings->smtp_host, | ||
'smtp_port' => 25, | ||
'smtp_user' => '[email protected]', // change it to yours | ||
'smtp_pass' => 'Golden_123', // change it to yours | ||
'smtp_user' => $settings->smtp_username, // change it to yours | ||
'smtp_pass' => $settings->smtp_password, // change it to yours | ||
'smtp_timeout'=>20, | ||
'mailtype' => 'html', | ||
'charset' => 'iso-8859-1', | ||
... | ... | @@ -214,7 +214,7 @@ function get_cars_details(){ |
//$mailTemplate=$data->message; | ||
//$this->email->set_newline("\r\n"); | ||
$this->email->from('[email protected]'); | ||
$this->email->from($settings->admin_email); | ||
$this->email->to($email); | ||
$this->email->subject("Verify Your Email Adress - Tukkibi"); | ||
$this->email->message("Click the Link to verify your Email Adress:".$link); | ||
... | ... |
Please
register
or
sign in
to comment