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