Skip to content

Commit

Permalink
Update Inspection.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed Jun 27, 2024
1 parent 977ae48 commit 337c8ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/controllers/Inspection.php
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,6 @@ public function emailsend() {

$this->load->library('email');
$smtpass = getenv("SMTPPASS");
echo $smtpass;
$config['protocol'] = 'smtp';
$config['wordwrap'] = TRUE;
$config['mailtype'] = 'html';
Expand All @@ -1106,6 +1105,8 @@ public function emailsend() {

// Will only print the email headers, excluding the message subject and body
$this->email->print_debugger();


if ($this->email->send()) {
echo "ok";

Expand Down

0 comments on commit 337c8ec

Please sign in to comment.