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

)->getData() . '</p><p>' . $form->get('message')->getData() . '</p>'; )->getData() . '</p><p>' . $form->get('message')->getData() . '</p>';


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

Loading…
Cancel
Save