![]() |
my email sign up not working - 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: my email sign up not working (/showthread.php?tid=53465) |
my email sign up not working - El Forum - 07-25-2012 [eluser]Unknown[/eluser] function sendHtmlMail($to ='',$from ='',$subject='',$message='',$cc='') { // load Email Library $this->load->library('email'); $config['mailtype'] = 'html'; $config['wordwrap'] = TRUE; $this->email->initialize($config); $this->email->to($to); $this->email->from($from); $this->email->cc($cc); $this->email->subject($subject); $this->email->message($message); $this->email->send(); if ( ! $this->email->send()) { echo $this->email->print_debugger(); } } my email sign up not working - El Forum - 07-25-2012 [eluser]LuckyFella73[/eluser] What is not working? Do you get error messages? my email sign up not working - El Forum - 07-25-2012 [eluser]Crackarjack[/eluser] mailtype text text or html Type of mail. If you send HTML email you must send it as a complete web page. Make sure you don't have any relative links or relative image paths otherwise they will not work. |