update mail notifications
This commit is contained in:
parent
86e054a74a
commit
e5f635d4b1
|
@ -23,6 +23,7 @@ class ContactController extends PageController
|
|||
$data = $form->getData();
|
||||
|
||||
$notifier
|
||||
->setFrom('subscription@deblan.fr')
|
||||
->addRecipient('simon@deblan.fr')
|
||||
->setSubject('[Deblan] Nouveau message')
|
||||
->setReplyTo($data['email'])
|
||||
|
|
|
@ -38,6 +38,7 @@ class CommentEventSubscriber extends EntityManagerEventSubscriber
|
|||
|
||||
$this->notifier
|
||||
->init()
|
||||
->setFrom('subscription@deblan.fr')
|
||||
->addRecipient('simon@deblan.fr')
|
||||
->setSubject('[Deblan] Nouveau commentaire')
|
||||
->notify('mail/comment.html.twig', [
|
||||
|
|
Loading…
Reference in New Issue