Browse Source

mail de contact

v1
charly 3 years ago
parent
commit
8ec2070c1d
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/Controller/Frontend/ContactController.php

+ 3
- 3
src/Controller/Frontend/ContactController.php View File

@@ -32,11 +32,11 @@ class ContactController extends DefaultController
)->getData() . '</p><p>' . $form->get('message')->getData() . '</p>';

$email = (new Email())
->from('charly@laclic.fr')
->from('agir@lacooperativedescitoyens.fr')
->from('nepasrepondre@laclic.fr')
->replyTo($form->get('email')->getData())
// ->to('agir@lacooperativedescitoyens.fr')
->to('charly@laclic.fr')
->to('agir@lacooperativedescitoyens.fr')
// ->to('charly@laclic.fr')
->subject('Message de contact sur Aux Actes Citoyens !')
->text(strip_tags($message))
->html($message);

Loading…
Cancel
Save