Welcome Guest, Not a member yet? Register   Sign In
Debugging mail library
#3

[eluser]rufisgumbo[/eluser]
Code:
$this->load->library('email');
               $this->email->from('[email protected]', 'Website');
               $this->email->to(set_value('email'));
               $this->email->subject('Blah Blah');
               $this->email->message("Dear Member,\nBlah Blah Blah");    
               $this->email->send();

The set_value('email') is because I've used the form validation class to validate the form input. I've checked and this value is coming through ok.


Messages In This Thread
Debugging mail library - by El Forum - 07-05-2011, 08:12 PM
Debugging mail library - by El Forum - 07-05-2011, 08:37 PM
Debugging mail library - by El Forum - 07-05-2011, 08:56 PM
Debugging mail library - by El Forum - 07-05-2011, 09:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB