E-Mail is being printed to screen as well as being sent. Odd. |
[eluser]johnwbaxter[/eluser]
I've got a controller that sends an e-mail, then does some other stuff which loads a view that has a form in it which has some javascript that submits that form on page load. Don't ask me why, it just does! Anyway, the e-mail gets sent fine, but when it loads the view it also prints the (html) e-mail to the page. I really need to stop it doing this. Here's some code. Code: $this->load->library('email'); Then it gets some data together and fires up a view: Code: $this->load->view('test', $data); Then i do some of this madness in the view: Code: <html> Sooooo if anyone can shed some light on this gosh darned crazyness i would really appreciate some assistance. |
Messages In This Thread |
E-Mail is being printed to screen as well as being sent. Odd. - by El Forum - 08-15-2008, 04:02 AM
E-Mail is being printed to screen as well as being sent. Odd. - by El Forum - 08-18-2008, 07:53 AM
E-Mail is being printed to screen as well as being sent. Odd. - by El Forum - 08-18-2008, 08:32 AM
E-Mail is being printed to screen as well as being sent. Odd. - by El Forum - 08-18-2008, 08:41 AM
|