From 5fe39a1cbf5b2d00c8b94093e7e5b70ef38b0176 Mon Sep 17 00:00:00 2001 From: Tobias Herre Date: Wed, 3 Nov 2021 12:33:55 +0100 Subject: [PATCH] Allow to configure CC mailing --- config.sample.php | 13 +++++++------ submit.php | 3 +++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/config.sample.php b/config.sample.php index 85e6f1d..ab815dd 100644 --- a/config.sample.php +++ b/config.sample.php @@ -1,13 +1,14 @@ Subject = $subj; $mail->Body = "Kostenerstattungsantrag ..."; $mail->AddAddress($mailDest); + if ($mailDestCC) { + $mail->AddCC($mailDestCC); + } $mail->AddAttachment( $file , 'antrag.pdf' ); $mail->Host = $mailHost; // Specify main and backup server