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 28, 2024
1 parent 6d62112 commit fd2a399
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions application/controllers/Inspection.php
Original file line number Diff line number Diff line change
Expand Up @@ -1082,19 +1082,18 @@ public function emailsend() {


$this->load->library('email');
$smtpass2 = getenv("SMTPPASS");
$smtpass = '*1@0$aghLvGq%';
$smtpass = getenv("SMTPPASS");
$config['protocol'] = 'smtp';
$config['wordwrap'] = TRUE;
$config['mailtype'] = 'html';
$config['charset'] = 'utf-8';
$config['crlf'] = '\r\n';
$config['newline'] = '\r\n';
$config['smtp_host'] = 'imperial-dekra.gr';
$config['smtp_user'] = '[email protected]';
$config['smtp_host'] = 'smtp.sendgrid.net';
$config['smtp_user'] = 'apikey';
$config['smtp_pass'] = $smtpass;
$config['smtp_crypto'] = 'TLS';
$config['smtp_port'] = '143';
$config['smtp_port'] = '587';
$config['smtp_timeout'] = '15';
$this->email->initialize($config);
$this->email->to('[email protected]');
Expand Down

0 comments on commit fd2a399

Please sign in to comment.