Cannot redirect after $this->email->send() - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Cannot redirect after $this->email->send() (/showthread.php?tid=47339) |
Cannot redirect after $this->email->send() - El Forum - 12-05-2011 [eluser]Unknown[/eluser] Hi, First post here, hope you can help me out. i have the following code which sends an email from a posted form: Code: $this->load->library('email'); Problem: the email gets sent with proper formatting (from the email view template), but the page then goes blank. For instance, if I try to echo out $message just below the $this->email->send() call, nothing shows up. Redirecting, as I'm attempting above, obviously doesn't work either. I've been working with CI for years now, and am really stumped by this... Am I missing something? Thanks for any help... |