From ee7bb7a7a638169a774d1904f21236a119411391 Mon Sep 17 00:00:00 2001 From: Ruben Date: Wed, 14 Jan 2026 20:24:57 +0100 Subject: [PATCH] Add petition-specific SMTP configuration options Add optional petition-specific SMTP configuration overrides to the example configuration file, maintaining the existing defaults while allowing customization for petition emails --- custom/smtp-config.php.example | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/custom/smtp-config.php.example b/custom/smtp-config.php.example index 4a32b07..4506108 100644 --- a/custom/smtp-config.php.example +++ b/custom/smtp-config.php.example @@ -1,7 +1,7 @@ 587, // Common ports: 587 (TLS), 465 (SSL), 25 (unsecured) 'username' => 'your-email@example.com', // SMTP username 'password' => 'your-password', // SMTP password - 'from_email' => 'kontaktskjema@stopplidelsen.no', + 'from_email' => 'email@example.com', 'from_name' => 'Stopp Lidelsen Kontaktskjema', - 'to_email' => 'kontakt@stopplidelsen.no', + 'to_email' => 'email@example.com', 'to_name' => 'Stopp Lidelsen', + + // Petition-specific overrides (optional) + // If not set, the default values above will be used + 'petition' => [ + // 'from_email' => 'underskrifter@example.com', + // 'from_name' => 'Underskriftskampanje', + ], ];