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

[eluser]rufisgumbo[/eluser]
I'm trying to send a simple mail for the first time with Code Igniter.

I'm following the examples given in the User Guide but it's simply not sending.

How can I debug to see if and where there is an error being thrown?
#2

[eluser]mi6crazyheart[/eluser]
Show us u'r codes...
#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.
#4

[eluser]InsiteFX[/eluser]
Code:
echo $this->email->print_debugger();

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB