Skip to content
config.env.dev.inc.j2 397 B
Newer Older
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\SMTP;
use PHPMailer\PHPMailer\Exception;

include_once $_SERVER['DOCUMENT_ROOT'] . '/vendor/autoload.php';

$site_url = 'https://{{ app_domain }}';

function setSendingParams($mail) {
  $mail->isSMTP();
  $mail->Host     = 'localhost';
  $mail->SMTPAuth = true;
  $mail->Username = '';
  $mail->Password = '';
  $mail->Port=1025;
}