this mail going to spam. when i change email->from then it goes to inbox.
how to send email to inbox with this email id
$this->email>from("[email protected]");
$this->email->from("[email protected]");
$this->email->to("[email protected]");
$this->email->subject($subject);
$this->email->message($body);
$this->email->set_mailtype('html');
$this->email->send();
this mail going to inbox.
$this->email->from("[email protected]");
$this->email->to("[email protected]");
$this->email->subject($subject);
$this->email->message($body);
$this->email->set_mailtype('html');
$this->email->send();