From 7a3089668f008a9a713afeefccaed70fb3765ba4 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Sun, 28 Dec 2025 02:15:11 +0100 Subject: [PATCH] asdasd --- src/App/Mailer.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/App/Mailer.php b/src/App/Mailer.php index 9397554..26bce31 100644 --- a/src/App/Mailer.php +++ b/src/App/Mailer.php @@ -137,6 +137,14 @@ final class Mailer $subject = $tpl['subject'] ?? 'Papa-Kind-Treff'; $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'; $fromEmail = getenv('MAIL_FROM') ?: 'no-reply@' . $this->app->config()->primaryDomain; $fromName = getenv('MAIL_FROM_NAME') ?: 'Papa-Kind-Treff';