Skip to content
config.env.inc.j2 480 B
Newer Older
<?php
$site_url = 'https://{{ app_domain }}';

function setSendingParams($mail) {
  $mail->Mailer   = '{{ mail_protocol | default() }}';
  $mail->Host     = '{{ mail_host | default() }}';
  $mail->SMTPAuth = true;
  $mail->Port     = {{ mail_port | default() }};
  $mail->Username = '{{ mail_username | default() }}';
  $mail->Password = '{{ mail_password | default() }}';
  $mail->addCustomHeader('X-Mailer', 'ADM Mailer');