E-mail Class Problem - 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: E-mail Class Problem (/showthread.php?tid=14080) |
E-mail Class Problem - El Forum - 12-17-2008 [eluser]Ricardo Machado[/eluser] I have the following code: Code: this->load->library('email'); # LOAD THE LIBRARY I don't know why, but the script keeps givin' me some warning/errors about the From and the Return-Path headers. Keeps sayin' they are not set... When I make a var_dump($this->_headers); in the class I can see that they have not been set as they supposed to be between the function from() and the function _set_header().... Is this error caused by me, or is it a 'bug' ? :X Any help would be appreciated, thanks in advance... E-mail Class Problem - El Forum - 12-18-2008 [eluser]ericsodt[/eluser] Try $this->input->get_post('<attribute'>); I believe it is 'get_post' might want to look in the Input class and make sure, but that should do it... [quote author="Ricardo Machado" date="1229559325"]I have the following code: Code: this->load->library('email'); # LOAD THE LIBRARY I don't know why, but the script keeps givin' me some warning/errors about the From and the Return-Path headers. Keeps sayin' they are not set... When I make a var_dump($this->_headers); in the class I can see that they have not been set as they supposed to be between the function from() and the function _set_header().... Is this error caused by me, or is it a 'bug' ? :X Any help would be appreciated, thanks in advance...[/quote] |