Cannot send mail with no "From" header. |
In your code you've already used $this->email->send() before using again $this->email->send() in your if statement. The library, after you send an email, clears everything. So, if you want to do something in case of error you don't do the same method twice:
PHP Code: $this->load->library('email'); Website: http://avenir.ro
|
Messages In This Thread |
Cannot send mail with no "From" header. - by mstojanov - 01-18-2015, 12:18 AM
RE: Cannot send mail with no "From" header. - by mstojanov - 01-19-2015, 04:40 PM
RE: Cannot send mail with no "From" header. - by apparasenal - 01-19-2015, 08:27 PM
RE: Cannot send mail with no "From" header. - by Avenirer - 01-20-2015, 12:02 AM
|