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
This commit is contained in:
Ruben 2026-01-14 20:24:57 +01:00
parent 6cf9710ac1
commit ee7bb7a7a6

View file

@ -12,8 +12,15 @@ return [
'port' => 587, // Common ports: 587 (TLS), 465 (SSL), 25 (unsecured) 'port' => 587, // Common ports: 587 (TLS), 465 (SSL), 25 (unsecured)
'username' => 'your-email@example.com', // SMTP username 'username' => 'your-email@example.com', // SMTP username
'password' => 'your-password', // SMTP password 'password' => 'your-password', // SMTP password
'from_email' => 'kontaktskjema@stopplidelsen.no', 'from_email' => 'email@example.com',
'from_name' => 'Stopp Lidelsen Kontaktskjema', 'from_name' => 'Stopp Lidelsen Kontaktskjema',
'to_email' => 'kontakt@stopplidelsen.no', 'to_email' => 'email@example.com',
'to_name' => 'Stopp Lidelsen', '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',
],
]; ];