asdasd
This commit is contained in:
@@ -137,6 +137,14 @@ final class Mailer
|
|||||||
$subject = $tpl['subject'] ?? 'Papa-Kind-Treff';
|
$subject = $tpl['subject'] ?? 'Papa-Kind-Treff';
|
||||||
$html = $tpl['html'] ?? '';
|
$html = $tpl['html'] ?? '';
|
||||||
|
|
||||||
|
$this->log('mail_rendered_template', [
|
||||||
|
'template_key' => $templateKey,
|
||||||
|
'template_id' => $resolvedId,
|
||||||
|
'subject' => $subject,
|
||||||
|
'html_len' => strlen((string)$html),
|
||||||
|
'html_preview' => substr((string)$html, 0, 200),
|
||||||
|
]);
|
||||||
|
|
||||||
$transport = getenv('MAIL_TRANSPORT') ?: 'mail';
|
$transport = getenv('MAIL_TRANSPORT') ?: 'mail';
|
||||||
$fromEmail = getenv('MAIL_FROM') ?: 'no-reply@' . $this->app->config()->primaryDomain;
|
$fromEmail = getenv('MAIL_FROM') ?: 'no-reply@' . $this->app->config()->primaryDomain;
|
||||||
$fromName = getenv('MAIL_FROM_NAME') ?: 'Papa-Kind-Treff';
|
$fromName = getenv('MAIL_FROM_NAME') ?: 'Papa-Kind-Treff';
|
||||||
|
|||||||
Reference in New Issue
Block a user