I am using the following code in xamp
email successfully sent but not receive.
$config=array(
'protocol'=>'smtp',
'smtp_host'=>'ssl://smtp.googleemail.com',
'smtp_port'=>465,
'smtp_user'=>'malikumair112233@gmail.com',
'smtp_pass'=>'Mypassword1234$'
);
$this->load->library('email',$config);
$this->email->set_newline('\r\n');
$this->email->from('malikumair112233@gmail.com','VBUZZ');
$this->email->to('webtrix001@gmal.com');
$this->email->subject('helo test');
$this->email->message('test test ');
if($this->email->send()) {
echo 'Message sent.';
} else {
show_error($this->email->print_debugger());
echo 'Message has not been sent';
}
It show me that Message sent but when I check my mail no email received.