Simple Email not sending? |
[eluser]whygod[/eluser]
Hi guys, I have a method below, Code: function send_message($email_from, $email_to, $msg) It send email but I don't received the email? What could be the problem of this? Thank you very much in advanced.
[eluser]TheFuzzy0ne[/eluser]
You should try returning $this->email->send(). If FALSE is returned, then you know something went wrong. Code: function send_message($email_from, $email_to, $msg) Now add the following logic to your calling controller method: Code: if ( ! $this->some_model->send_email($to, $from, $msg)) Now you should have a better idea about what's going on. |
Welcome Guest, Not a member yet? Register Sign In |