Skip to content

Commit 3e9012d

Browse files
committed
fix mail confirmation page contact
1 parent 772a294 commit 3e9012d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Controller/MailController.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@ public function sendEmail()
7979
</ul>
8080
";
8181

82+
$mail = '[email protected]';
83+
8284
$messageMySelf = (new \Swift_Message('Confirmation de demande de contact'))
8385
->setFrom([$username => 'Thomas Claireau'])
84-
->setTo($username)
86+
->setTo($mail)
8587
->addPart($bodyMySelf, 'text/html')
8688
;
8789

0 commit comments

Comments
 (0)