From fc81e5e0bc3ea91a13573ab77e5f99b63664574c Mon Sep 17 00:00:00 2001 From: pavlosb Date: Thu, 27 Jun 2024 11:41:01 +0300 Subject: [PATCH] Update Inspection.php --- application/controllers/Inspection.php | 4 ++++ 1 file changed, 4 insertions(+) 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";