Skip to content

Commit

Permalink
email
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed Jun 28, 2024
1 parent 6233a7a commit e449e83
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions application/config/email.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

$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'] = 'smtp.sendgrid.net';
$config['smtp_user'] = 'apikey';
$config['smtp_pass'] = $smtpass;
$config['smtp_crypto'] = 'TLS';
$config['smtp_port'] = '587';
$config['smtp_timeout'] = '15';

0 comments on commit e449e83

Please sign in to comment.