Add petition-specific SMTP configuration support
Allow separate SMTP account for petition emails to improve deliverability through proper SPF/DKIM configuration matching the from address
This commit is contained in:
parent
609bd5dd34
commit
798bf268aa
3 changed files with 45 additions and 18 deletions
|
|
@ -17,9 +17,18 @@ return [
|
|||
'to_email' => 'email@example.com',
|
||||
'to_name' => 'Stopp Lidelsen',
|
||||
|
||||
// Petition-specific overrides (optional)
|
||||
// Petition-specific settings (optional)
|
||||
// If not set, the default values above will be used
|
||||
//
|
||||
// IMPORTANT: For better email deliverability, use a separate SMTP account
|
||||
// for petitions where the from_email matches the SMTP username.
|
||||
// This ensures SPF/DKIM/DMARC checks pass.
|
||||
'petition' => [
|
||||
// Separate SMTP account (recommended for deliverability)
|
||||
// 'host' => 'smtp.example.com',
|
||||
// 'port' => 587,
|
||||
// 'username' => 'underskrifter@example.com',
|
||||
// 'password' => 'petition-smtp-password',
|
||||
// 'from_email' => 'underskrifter@example.com',
|
||||
// 'from_name' => 'Underskriftskampanje',
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue