diff --git a/application/controllers/Inspection.php b/application/controllers/Inspection.php index dc463f3..e0d67f4 100644 --- a/application/controllers/Inspection.php +++ b/application/controllers/Inspection.php @@ -1103,6 +1103,10 @@ public function emailsend() { //$this->email->bcc('them@their-example.com'); $this->email->subject('Email Test'); $this->email->message('Testing the email class.'); +$this->email->send(FALSE); + +// Will only print the email headers, excluding the message subject and body +$this->email->print_debugger(array('headers')); if ($this->email->send()) { echo "ok";