Mailer = '{{ mail_protocol | default() }}'; $mail->SMTPSecure = {{ mail_secure | 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'); }