Skip to content

EnvelopeListener for symfony mailer that enables whitelisting of emails

License

Notifications You must be signed in to change notification settings

halloverden/symfony-mailer-email-whitelist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

symfony-mailer-email-whitelist

EnvelopeListener for symfony mailer that enables whitelisting of emails

Install

composer require halloverden/symfony-mailer-email-whitelist

Usage

services:
  mailer.staging.set_recipients:
    class: HalloVerden\EmailWhitelist\EventListener\WhitelistEnvelopeListener
    tags: ['kernel.event_subscriber']
    arguments:
      $sender: '%env(EMAIL_FROM_ADDRESS)%'
      $recipients: '%env(json:EMAIL_DELIVERY_ADDRESSES)%'
      $deliveryWhitelist: '%env(json:EMAIL_DELIVERY_WHITELIST)%'

About

EnvelopeListener for symfony mailer that enables whitelisting of emails

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages