EE 2.1.3 build 20110411
I am using the Email Class to send a simple test email from inside a plugin I created.
$this->EE =& get_instance();
$this->EE->load->library('email');
$this->EE->email->wordwrap = true;
$this->EE->email->mailtype = 'text';
$this->EE->email->debug = true;
$this->EE->email->from('[email protected]');
$this->EE->email->to('[email protected]');
$this->EE->email->subject("test");
$this->EE->email->message("TEST");I get no email delivered.
I ran email_test.php from my root directory and it worked. I can send an email from my admin console panel. I set email debug on in the console and set it in the email class instantiation but I get no debug messages in the template debug output.
Any suggestions?