innhold/custom/smtp-config.php.example
Ruben ee7bb7a7a6 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
2026-01-14 20:24:57 +01:00

26 lines
891 B
Text

<?php
/**
* SMTP Configuration for PHPMailer.Lite
*
* Fill in your SMTP settings here.
* This file should be added to .gitignore to keep credentials private.
*/
return [
'enabled' => false, // Set to true when you have SMTP configured
'host' => 'smtp.example.com', // Your SMTP server
'port' => 587, // Common ports: 587 (TLS), 465 (SSL), 25 (unsecured)
'username' => 'your-email@example.com', // SMTP username
'password' => 'your-password', // SMTP password
'from_email' => 'email@example.com',
'from_name' => 'Stopp Lidelsen Kontaktskjema',
'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',
],
];