From 5b5567ffe7e58745b1e8cc75b6aa1cb392e54172 Mon Sep 17 00:00:00 2001 From: pavlosb Date: Wed, 26 Jun 2024 16:56:55 +0300 Subject: [PATCH] Update Inspection.php --- application/controllers/Inspection.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/application/controllers/Inspection.php b/application/controllers/Inspection.php index c98239d..4a6a459 100644 --- a/application/controllers/Inspection.php +++ b/application/controllers/Inspection.php @@ -1079,7 +1079,15 @@ private function _checksignature($inspid) { public function emailsend() { $this->load->library('email'); - print_r($config); + $this->email->to('pavlos.bizimis@inline.gr'); +//$this->email->cc('another@another-example.com'); +//$this->email->bcc('them@their-example.com'); + +$this->email->subject('Email Test'); +$this->email->message('Testing the email class.'); + +$this->email->send(); + }