update mail sender

This commit is contained in:
Charles 2026-01-28 11:43:03 +01:00
parent 4b3a960e59
commit 6403048e44
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ class EmailService
); );
$this->logger->info("link generated: " . $link); $this->logger->info("link generated: " . $link);
$email = (new TemplatedEmail()) $email = (new TemplatedEmail())
->from('no-reply@sudalys.fr') ->from('no-reply@solutions-easy.com')
->to($user->getEmail()) ->to($user->getEmail())
->subject('Définissez votre mot de passe') ->subject('Définissez votre mot de passe')
->htmlTemplate('emails/password_setup.html.twig') ->htmlTemplate('emails/password_setup.html.twig')
@ -60,7 +60,7 @@ class EmailService
], UrlGeneratorInterface::ABSOLUTE_URL); ], UrlGeneratorInterface::ABSOLUTE_URL);
$this->logger->info("link generated: " . $link); $this->logger->info("link generated: " . $link);
$email = (new TemplatedEmail()) $email = (new TemplatedEmail())
->from('no-reply@sudalys.fr') ->from('no-reply@solutions-easy.com')
->to($existingUser->getEmail()) ->to($existingUser->getEmail())
->subject("Invitation à rejoindre l'organisation " . $org->getName()) ->subject("Invitation à rejoindre l'organisation " . $org->getName())
->htmlTemplate('emails/existing_user_notification.html.twig') ->htmlTemplate('emails/existing_user_notification.html.twig')