feat: send an email when a domain has been modified

This commit is contained in:
Maël Gangloff
2024-07-21 13:59:00 +02:00
parent 63f8dc168d
commit b45bbe63f5
6 changed files with 92 additions and 7 deletions

View File

@@ -4,12 +4,15 @@
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
parameters:
mailer_sender_email: '%env(MAILER_SENDER_EMAIL)%'
services:
# default configuration for services in *this* file
_defaults:
autowire: true # Automatically injects dependencies in your services.
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
bind:
$mailerSenderEmail: '%mailer_sender_email%'
# makes classes in src/ available to be used as services
# this creates a service per class whose id is the fully-qualified class name